Clarified the dscp-tos documentation a bit.
[doldaconnect.git] / daemon / conf.h
index 7edc835..a0d2631 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Dolda Connect - Modular multiuser Direct Connect-style client
- *  Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com)
+ *  Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.com>
  *  
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -24,8 +24,6 @@
 #include <netinet/in.h>
 #include <utils.h>
 
-#define CONFIG_PATH "/usr/local/etc/doldacond.conf:/usr/etc/doldacond.conf:/etc/doldacond.conf"
-
 #define CONF_VAR_END -1
 #define CONF_VAR_BOOL 0
 #define CONF_VAR_INT 1
@@ -70,6 +68,7 @@ struct configvar *confgetvar(char *modname, char *varname);
 #define confgetstr(m, v) (confgetvar((m), (v))->val.str)
 void confregmod(struct configmod *mod);
 void readconfig(FILE *stream);
-char *findconfigfile(void);
+void storevar(char *key, void *val, size_t len);
+void *fetchvar(char *key, size_t *lenb);
 
 #endif