ProFTPD Developer's Guide: Configuration Tables

ProFTPD Version 1.2


Table of Contents

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:

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.

Table of Contents



Author: $Author: castaglia $
Last Updated: $Date: 2003/01/02 17:39:36 $


© Copyright 2000-2003 TJ Saunders
All Rights Reserved