]> git.sommitrealweird.co.uk Git - onak.git/blob - onak-conf.c
cscvs to tla changeset 18
[onak.git] / onak-conf.c
1 /*
2  * onak-conf.c - Routines related to runtime config.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2002 Project Purple
7  */
8
9 #include <stdlib.h>
10
11 #include "onak-conf.h"
12
13 /*
14  *      config - Runtime configuration for onak.
15  *
16  *      Currently this is all hardcoded, but only needs changed here. In future
17  *      it'll be read from a config file.
18  */
19 struct onak_config config = {
20         128,                    /* maxkeys */
21
22         /*
23          * Options for the db2 file backend.
24          */
25         "/community/pgp-keyserver/db-copy",     /* db2_dbpath */
26
27         /*
28          * Options for the file backend.
29          */
30         "/home/noodles/projects/onak/db",       /* file_dbpath */
31         
32         /*
33          * Options for the Postgres backend.
34          */
35         NULL,                   /* pg_dbhost */
36         "noodles",              /* pg_dbname */
37         NULL,                   /* pg_dbuser */
38         NULL,                   /* pg_dbpass */
39 };