From: fredrik Date: Tue, 14 Nov 2006 03:56:07 +0000 (+0000) Subject: Use findfile instead of findconfig file. X-Git-Tag: 0.3~190 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=1b253477ad568fc0d5d3e871dd30a61043d55f29;p=doldaconnect.git Use findfile instead of findconfig file. Add filldef to findfile. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@733 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/conf.h b/daemon/conf.h index 7edc835..e6b7465 100644 --- a/daemon/conf.h +++ b/daemon/conf.h @@ -24,8 +24,6 @@ #include #include -#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,5 @@ 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); #endif