1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#define TIMEFACTOR 3600
#define LDAPQUERY_MAXWAIT 10
#define DEFAULT_SERVER "localhost"
#define DEFAULT_QFILTER "(&(mail=$recepient)(vacationActive=TRUE)"
#define DEFAULT_MES "vacationInfo"
#define DEFAULT_BASE ""
#define DEFAULT_EXPIRE 48
#define DEFAULT_MAIL_LIMIT 256
#define DEFAULT_MAP_SENDER "$sender"
#define DEFAULT_MAP_RECEIVER "$recepient"
#define DEFAULT_MAP_SUBJECT "$subject"
#define LDAP_PROTOCOL_DETECT 0
#define LDAP_CHARSET "UTF-8"
#define LVL_CRIT 0
#define LVL_WARN 1
#define LVL_INFO 2
#define LVL_DEBUG 3
#define TRUE 1
#define FALSE 0
#ifndef BLOCKDIR
#define BLOCKDIR "/tmp"
#endif
#ifndef CFGFILE
#define CFGFILE "/etc/gnarwl.cfg"
#endif
#ifndef VERSION
#define VERSION " <unknown>"
#endif
|