Next: databases, Previous: TCP wrappers, Up: smapd [Contents][Index]
Mapper modules are external pieces of software designed to
handle a particular subset of map queries. They are built as
shared libraries and loaded into smapd
at startup.
Modules are loaded using the module
command:
Load module module-name. Additional arguments (args), if specified, are passed to the module initialization function.
The module-id is a unique identifier, which will subsequently be used to refer to that module.
A module load path is an internal list of directories which
smapd
scans in order to find a loadable file name specified in
module
statement. By default the scan order is as follows:
prepend-load-path
(see below);
append-load-path
(see below);
LTDL_LIBRARY_PATH
.
LD_LIBRARY_PATH
).
Values of LTDL_LIBRARY_PATH
and LD_LIBRARY_PATH
must be
colon-separated lists of absolute directory names, for example:
‘/usr/lib/mypkg:/lib/foo'’.
In any of these directories, smapd
first attempts to find and
the given module-name verbatim and to load it. If this fails,
it tries to append the following suffixes to it:
Additional search directories may be configured with
prepend-load-path
and append-load-path
statements:
Prepends the directories listed in its argument to the module load path. The path argument must be a colon-separated list of absolute directory names.
Appends the directories listed in its argument to the module load path. The path argument must be a colon-separated list of absolute directory names.
Next: databases, Previous: TCP wrappers, Up: smapd [Contents][Index]