/*++ /* NAME /* mail_conf_nbool 3 /* SUMMARY /* boolean-valued configuration parameter support /* SYNOPSIS /* #include <mail_conf.h> /* /* int get_mail_conf_nbool(name, defval) /* const char *name; /* const char *defval; /* /* int get_mail_conf_nbool_fn(name, defval) /* const char *name; /* const char *(*defval)(); /* /* void set_mail_conf_nbool(name, value) /* const char *name; /* const char *value; /* /* void get_mail_conf_nbool_table(table) /* const CONFIG_NBOOL_TABLE *table; /* /* void get_mail_conf_nbool_fn_table(table) /* const CONFIG_NBOOL_TABLE *table; /* DESCRIPTION /* This module implements configuration parameter support for /* boolean values. The internal representation is zero (false) /* and non-zero (true). The external representation is "no" /* (false) and "yes" (true). The conversion from external /* representation is case insensitive. Unlike mail_conf_bool(3) /* the default is a string value which is subject to macro expansion. /* /* get_mail_conf_nbool() looks up the named entry in the global /* configuration dictionary. The specified default value is /* returned when no value was found. /* /* get_mail_conf_nbool_fn() is similar but specifies a function that /* provides the default value. The function is called only /* when the default value is needed. /* /* set_mail_conf_nbool() updates the named entry in the global /* configuration dictionary. This has no effect on values that /* have been looked up earlier via the get_mail_conf_XXX() routines. /* /* get_mail_conf_nbool_table() and get_mail_conf_int_fn_table() initialize /* lists of variables, as directed by their table arguments. A table /* must be terminated by a null entry. /* DIAGNOSTICS /* Fatal errors: malformed boolean value. /* SEE ALSO /* config(3) general configuration /* mail_conf_str(3) string-valued configuration parameters /* mail_conf_int(3) integer-valued configuration parameters /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.