/*++ /* NAME /* mail_conf_long 3 /* SUMMARY /* long integer-valued configuration parameter support /* SYNOPSIS /* #include <mail_conf.h> /* /* int get_mail_conf_long(name, defval, min, max); /* const char *name; /* long defval; /* long min; /* long max; /* /* int get_mail_conf_long_fn(name, defval, min, max); /* const char *name; /* long (*defval)(void); /* long min; /* long max; /* /* void set_mail_conf_long(name, value) /* const char *name; /* long value; /* /* void get_mail_conf_long_table(table) /* const CONFIG_LONG_TABLE *table; /* /* void get_mail_conf_long_fn_table(table) /* const CONFIG_LONG_TABLE *table; /* AUXILIARY FUNCTIONS /* int get_mail_conf_long2(name1, name2, defval, min, max); /* const char *name1; /* const char *name2; /* long defval; /* long min; /* long max; /* DESCRIPTION /* This module implements configuration parameter support /* for long integer values. /* /* get_mail_conf_long() looks up the named entry in the global /* configuration dictionary. The default value is returned /* when no value was found. /* \fImin\fR is zero or specifies a lower limit on the long /* integer value; \fImax\fR is zero or specifies an upper limit /* on the long integer value. /* /* get_mail_conf_long_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_long() 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_long_table() and get_mail_conf_long_fn_table() initialize /* lists of variables, as directed by their table arguments. A table /* must be terminated by a null entry. /* /* get_mail_conf_long2() concatenates the two names and is otherwise /* identical to get_mail_conf_long(). /* DIAGNOSTICS /* Fatal errors: malformed numerical value. /* SEE ALSO /* config(3) general configuration /* mail_conf_str(3) string-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 /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, 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.