Configuration Tables
The conftable
declares configuration directives which this module is interested in handling,
and the handler function names for those directives. The handlers will be
invoked when the server parses configuration files either during start-up,
after it receives a SIGHUP
, or when it encounters
.ftpaccess
files.
Definition
The structure for a configuration table entry is very simple:
MODRET func(cmd_rec *)
Example
An example configuration table:
static conftable sample_config[] = { { "FooBarDirective", add_foobardirective }, { NULL } };
The last element of any configuration table should be { NULL }
,
to signal the end of the table.