cscvs to tla changeset 87
[onak.git] / onak-conf.h
index 11458187fad6dcf259407976419ff5e294316b85..3f4a797c9bcd183b64a8270c54bc778c4c2499e4 100644 (file)
@@ -4,12 +4,14 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2002 Project Purple
+ *
+ * $Id: onak-conf.h,v 1.10 2003/06/08 21:18:43 noodles Exp $
  */
 
 #ifndef __ONAK_CONF_H_
 #define __ONAK_CONF_H_
 
-#define VERSION "0.0.4"
+#define VERSION "0.2.0"
 #define CONFIGFILE "/home/noodles/projects/onak/onak.conf"
 
 /*
@@ -39,6 +41,7 @@ struct onak_config {
        char *adminemail;
        char *mta;
        struct ll *syncsites;
+       char *logfile;
 
        /*
         * Options for any database backend that needs a directory, be it the
@@ -65,4 +68,9 @@ extern struct onak_config config;
  */
 void readconfig(void);
 
+/*
+ *     cleanupconfig - clean up the config when we're shutting down.
+ */
+void cleanupconfig(void);
+
 #endif /* __ONAK_CONF_H_ */