2 * onak-conf.h - Routines related to runtime config.
4 * Jonathan McDowell <noodles@earth.li>
6 * Copyright 2002 Project Purple
10 #define __ONAK_CONF_H_
12 #define VERSION "0.0.4"
15 * struct onak_config - Runtime configuration for onak.
16 * @maxkeys: The maximum number of keys a query should return.
18 * @db2_dbpath: The path to the directory containing the db2 files.
20 * @file_dbpath: The path to the flat file DB directory.
22 * @pg_dbhost: The host that Postgres is running on.
23 * @pg_dbname: The database name.
24 * @pg_dbuser: The user we should connect as.
25 * @pg_dbpass: The password for the user.
27 * This structure holds various runtime configuration options for onak. It
28 * will eventually be populated from the config file.
34 * Options for the db2 file backend.
39 * Options for the file backend.
44 * Options for the Postgres backend.
53 * config - The variable containing our runtime config.
55 extern struct onak_config config;
57 #endif /* __ONAK_CONF_H_ */