/*++ /* NAME /* dynamicmaps 3 /* SUMMARY /* load dictionaries dynamically /* SYNOPSIS /* #include <dynamicmaps.h> /* /* void dymap_init(const char *conf_path, const char *plugin_dir) /* DESCRIPTION /* This module reads the dynamicmaps.cf file and on-demand /* loads Postfix dictionaries. Each dynamicmaps.cf entry /* specifies the name of a dictionary type, the pathname of a /* shared-library object, the name of a "dict_open" function /* for access to individual dictionary entries, and optionally /* the name of a "mkmap_open" wrapper function for bulk-mode /* dictionary creation. Plugins may be specified with a relative /* pathname. /* /* A dictionary shared object may be installed on a system /* without editing the file dynamicmaps.cf, by placing a /* configuration file under the directory dynamicmaps.cf.d, /* with the same format as dynamicmaps.cf. /* /* dymap_init() reads the specified configuration file which /* must be in dynamicmaps.cf format, appends ".d" to the path /* and scans the named directory for other configuration files, /* and on the first call hooks itself into the dict_open() and /* dict_mapnames() functions. All files are optional, but if /* an existing file cannot be opened, that is a fatal error. /* /* dymap_init() may be called multiple times during a process /* lifetime, but it will not "unload" dictionaries that have /* already been linked into the process address space, nor /* will it hide their dictionaries types from later "open" /* requests. /* /* Arguments: /* .IP conf_path /* Pathname for the dynamicmaps configuration file. With ".d" /* appended, this becomes the pathname for a directory with /* other files in dynamicmaps.cf format. /* .IP plugin_dir /* Default directory for plugins with a relative pathname. /* SEE ALSO /* load_lib(3) low-level run-time linker adapter. /* DIAGNOSTICS /* Warnings: unsupported dictionary type, shared object file /* does not exist, shared object permissions are not safe-for-root, /* configuration file permissions are not safe-for-root. /* Fatal errors: memory allocation problem, error opening an /* existing configuration file, bad configuration file syntax. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* LaMont Jones /* Hewlett-Packard Company /* 3404 Harmony Road /* Fort Collins, CO 80528, USA /* /* 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.