72 #ifdef STRCASECMP_IN_STRINGS_H
87 static int convert_mail_conf_nbool(
const char *name,
int *intval)
99 msg_fatal(
"bad boolean configuration: %s = %s", name, strval);
111 if (convert_mail_conf_nbool(name, &intval) == 0)
113 if (convert_mail_conf_nbool(name, &intval) == 0)
114 msg_panic(
"get_mail_conf_nbool: parameter not found: %s", name);
120 typedef const char *(*stupid_indent_int) (void);
126 if (convert_mail_conf_nbool(name, &intval) == 0)
128 if (convert_mail_conf_nbool(name, &intval) == 0)
129 msg_panic(
"get_mail_conf_nbool_fn: parameter not found: %s", name);
144 while (table->
name) {
154 while (table->
name) {
int get_mail_conf_nbool_fn(const char *name, stupid_indent_int defval)
NORETURN msg_panic(const char *fmt,...)
int get_mail_conf_nbool(const char *name, const char *defval)
NORETURN msg_fatal(const char *fmt,...)
const char * mail_conf_lookup_eval(const char *name)
void get_mail_conf_nbool_fn_table(const CONFIG_NBOOL_FN_TABLE *table)
void get_mail_conf_nbool_table(const CONFIG_NBOOL_TABLE *table)
int strcasecmp(const char *s1, const char *s2)
void set_mail_conf_nbool(const char *name, const char *value)
const char *(* stupid_indent_int)(void)
void mail_conf_update(const char *key, const char *value)
const char *(* defval)(void)