# @(#)$Id: hornet.conf.in,v 1.2 2000/08/09 03:15:52 klmitch Exp $
#
# Comments are introduced with #, and continue to the end of the line.
# Blank lines are ignored, as is all white space; directives can be
# split across lines by ending each line with a '\' just before the
# newline.  Comments cannot be continued in this fashion.

# moddir <directory>
#
# This directive sets the default directory for hornet modules.  This
# default applies to all "module" directives in the current file, and
# if this is the first such directive found while searching all the
# files in the path, it also applies to all modules added using the
# API.  If it's not given, the default used is @MODDIR@.

moddir	@MODDIR@

# module <file> <type>:<name> [<type>:<name> [...]] [<params>]
#
# This directive is used to list all the modules that can be loaded by
# the library.  If the <file> parameter does not begin with "/", the
# most recently found moddir directive is prepended to the filename.
# The <type>:<name> parameters specify what database access or
# authentication modules are provided by this file; any that the
# module tries to register that are not listed will be ignored.  The
# only valid values of <type> are "db" and "auth".  Following these
# are an optional set of space-seperated "key=value" pairs that will
# be fed to the module upon initialization.  Keys are composed of a
# leading upper- or lower-case letter or a dash ("-") or underscore
# ("_"), followed by 0 or more upper- or lower-case letters, digits,
# or dashes or underscores.  They may optionally be followed by "="
# and a value, which can be quoted with double-quotes ('"') or
# single-quotes ("'"), or by the single character quote, "\".  All C
# escapes are supported, as are "\e" (ASCII "ESC" character), "\xHH"
# (for hexadecimal character constants), and "\dNNN" (for decimal
# character constants).  Double-quotes quote single-quotes, and
# single-quotes quote double-quotes and "\".  If a key is followed
# only by "=", an empty value is associated with it; if there is no
# "=" following the key, a null value is associated with it.  The "#"
# comment character can be quoted in this context.

module	network.so	db:network auth:pass_auth

# db <name> <module> [<params>]
#
# This directive is used to list all the databases; <name> gives the
# name of the database, and <module> is one of the named modules,
# labeled type "db", listed in a "module" directive above.  The
# optional <params> parameter specifies optional parameters for the
# module, in the same "key=value" scheme as listed for the "module"
# directive.

db	hornet		network		host=hornet.foo.com
