/*++ /* NAME /* attr_override 3 /* SUMMARY /* apply name=value settings from string /* SYNOPSIS /* #include <attr_override.h> /* /* void attr_override(bp, delimiters, parens, ... CA_ATTR_OVER_END); /* char *bp; /* const char *delimiters; /* const char *parens; /* DESCRIPTION /* This routine updates the values of known in-memory variables /* based on the name=value specifications from an input string. /* The input format supports parentheses around name=value to /* allow whitespace around "=" and within values. /* /* This may be used, for example, with client endpoint /* specifications or with policy tables to allow selective /* overrides of global main.cf parameter settings (timeouts, /* fall-back policies, etc.). /* /* Arguments: /* .IP bp /* Pointer to input string. The input is modified. /* .IP "delimiters, parens" /* See mystrtok(3) for description. Typical values are /* CHARS_COMMA_SP and CHARS_BRACE, respectively. /* .PP /* The parens argument is followed by a list of macros /* with arguments. Each macro may appear only once. The list /* must be terminated with CA_ATTR_OVER_END which has no argument. /* The following describes the expected values. /* .IP "CA_ATTR_OVER_STR_TABLE(const ATTR_OVER_STR *)" /* The macro argument specifies a null-terminated table with /* attribute names, assignment targets, and range limits which /* should be the same as for the corresponding main.cf parameters. /* .IP "CA_ATTR_OVER_TIME_TABLE(const ATTR_OVER_TIME *)" /* The macro argument specifies a null-terminated table with /* attribute names, their default time units (leading digits /* are skipped), assignment targets, and range limits which /* should be the same as for the corresponding main.cf parameters. /* .IP "CA_ATTR_OVER_INT_TABLE(const ATTR_OVER_INT *)" /* The macro argument specifies a null-terminated table with /* attribute names, assignment targets, and range limits which /* should be the same as for the corresponding main.cf parameters. /* SEE ALSO /* mystrtok(3), safe tokenizer /* extpar(3), extract text from parentheses /* split_nameval(3), name-value splitter /* DIAGNOSTICS /* Panic: interface violations. /* /* Fatal errors: memory allocation problem, syntax error, /* out-of-range error. /* 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.