1 #ifndef _MAIL_CONF_H_INCLUDED_
2 #define _MAIL_CONF_H_INCLUDED_
17 #define CONFIG_DICT "mail_dict"
22 #define CONF_ENV_PATH "MAIL_CONFIG"
23 #define CONF_ENV_VERB "MAIL_VERBOSE"
24 #define CONF_ENV_DEBUG "MAIL_DEBUG"
25 #define CONF_ENV_LOGTAG "MAIL_LOGTAG"
30 #define CONFIG_BOOL_YES "yes"
31 #define CONFIG_BOOL_NO "no"
93 #define set_mail_conf_nbool_int(name, value) \
94 set_mail_conf_nbool((name), (value) ? CONFIG_BOOL_YES : CONFIG_BOOL_NO)
175 const char *(*defval) (void);
183 const char *(*defval) (void);
213 const char *(*defval) (void);
221 const char *(*defval) (void);
void set_mail_conf_nbool(const char *, const char *)
char * get_mail_conf_str2(const char *, const char *, const char *, int, int)
const char * mail_conf_eval(const char *)
int get_mail_conf_nint2(const char *, const char *, int, int, int)
void set_mail_conf_str(const char *, const char *)
int get_mail_conf_nbool_fn(const char *, const char *(*)(void))
int get_mail_conf_int_fn(const char *, int(*)(void), int, int)
void set_mail_conf_time(const char *, const char *)
int get_mail_conf_bool(const char *, int)
void get_mail_conf_nint_table(const CONFIG_NINT_TABLE *)
void get_mail_conf_nbool_table(const CONFIG_NBOOL_TABLE *)
void get_mail_conf_nbool_fn_table(const CONFIG_NBOOL_FN_TABLE *)
void mail_conf_update(const char *, const char *)
char * get_mail_conf_raw(const char *, const char *, int, int)
void set_mail_conf_long(const char *, long)
int get_mail_conf_int(const char *, int, int, int)
void set_mail_conf_nint(const char *, const char *)
void get_mail_conf_str_fn_table(const CONFIG_STR_FN_TABLE *)
long get_mail_conf_long2(const char *, const char *, long, long, long)
void get_mail_conf_time_table(const CONFIG_TIME_TABLE *)
void set_mail_conf_bool(const char *, int)
void get_mail_conf_nint_fn_table(const CONFIG_NINT_FN_TABLE *)
void get_mail_conf_raw_table(const CONFIG_RAW_TABLE *)
const char * mail_conf_lookup_eval(const char *)
long get_mail_conf_long(const char *, long, long, long)
void check_mail_conf_str(const char *, const char *, int, int)
int get_mail_conf_nbool(const char *, const char *)
int get_mail_conf_bool_fn(const char *, int(*)(void))
int get_mail_conf_time2(const char *, const char *, int, int, int, int)
void mail_conf_suck(void)
void get_mail_conf_long_fn_table(const CONFIG_LONG_FN_TABLE *)
int get_mail_conf_time_fn(const char *, const char *(*)(void), int, int, int)
void get_mail_conf_raw_fn_table(const CONFIG_RAW_FN_TABLE *)
void get_mail_conf_str_table(const CONFIG_STR_TABLE *)
long get_mail_conf_long_fn(const char *, long(*)(void), long, long)
void mail_conf_flush(void)
void get_mail_conf_bool_table(const CONFIG_BOOL_TABLE *)
void mail_conf_checkdir(const char *)
int get_mail_conf_int2(const char *, const char *, int, int, int)
int get_mail_conf_nint(const char *, const char *, int, int)
void get_mail_conf_int_fn_table(const CONFIG_INT_FN_TABLE *)
void check_mail_conf_int(const char *, int, int, int)
char * get_mail_conf_raw_fn(const char *, const char *(*)(void), int, int)
void get_mail_conf_bool_fn_table(const CONFIG_BOOL_FN_TABLE *)
void mail_conf_read(void)
void get_mail_conf_int_table(const CONFIG_INT_TABLE *)
void set_mail_conf_nint_int(const char *, int)
char * get_mail_conf_str_fn(const char *, const char *(*)(void), int, int)
void check_mail_conf_time(const char *, int, int, int)
char * get_mail_conf_str(const char *, const char *, int, int)
void set_mail_conf_int(const char *, int)
void set_mail_conf_time_int(const char *, int)
int get_mail_conf_time(const char *, const char *, int, int)
void get_mail_conf_long_table(const CONFIG_LONG_TABLE *)
const char * mail_conf_lookup(const char *)
int get_mail_conf_nint_fn(const char *, const char *(*)(void), int, int)
const char * mail_conf_eval_once(const char *)