00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __INTERFACE_H__
00010 #define __INTERFACE_H__
00011
00025 #define FSVS_DEBUG_ENV "FSVS_DEBUGLEVEL"
00026
00038 #define DIFF_ENV "FSVS_DIFF"
00039
00043 #define DEFAULT_WAA_PATH "/var/spool/fsvs"
00044
00045 #define DEFAULT_CONF_PATH "/etc/fsvs"
00046
00048 #define DEFAULT_CONFIGDIR_SUB "/auth"
00049
00051 #define CONFIGDIR_GROUP "groups"
00052
00060 #define CHROOTER_ROOT_ENV "FSVS_CHROOT_ROOT"
00061
00062 #define CHROOTER_LIBS_ENV "FSVS_CHROOT_LIBS"
00063
00064 #define CHROOTER_CWD_ENV "FSVS_CHROOT_CWD"
00065
00077 #define FSVS_EXP_CURR_ENTRY "FSVS_CURRENT_ENTRY"
00078
00079 #define FSVS_EXP_WC_CONF "FSVS_WC_CONF"
00080
00081 #define FSVS_EXP_WC_ROOT "FSVS_WC_ROOT"
00082
00083 #define FSVS_EXP_TARGET_REVISION "FSVS_TARGET_REVISION"
00084
00116 #define CS__APPROX_BLOCKSIZE_BITS (17)
00117
00118 #define CS__MANBER_BITMASK ((1 << CS__APPROX_BLOCKSIZE_BITS)-1)
00119
00120 #define CS__MANBER_MODULUS (-1)
00121
00122 #define CS__MANBER_PRIME (31)
00123
00125 #define CS__MANBER_BACKTRACK (2*1024)
00126 #if (CS__MANBER_BACKTRACK-1) & CS__MANBER_BACKTRACK
00127 #error CS__MANBER_BACKTRACK must be a power of 2!
00128 #endif
00129
00133 #define CS__MIN_FILE_SIZE (256*1024)
00134
00137 #ifdef HAVE_LCHOWN
00138 #define CHOWN_FUNC lchown
00139 #define CHOWN_BOOL 1
00140 #else
00141 #define CHOWN_FUNC chown
00142 #define CHOWN_BOOL 0
00143 #endif
00144
00145 #ifdef HAVE_LUTIMES
00146 #define UTIMES_FUNC lutimes
00147 #define UTIMES_BOOL 1
00148 #else
00149 #define UTIMES_FUNC utimes
00150 #define UTIMES_BOOL 0
00151 #endif
00152
00153 #endif
00154