X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fconf.h;h=20141dcca468d06a8f3d242d591130c1fc6fb912;hb=60aae12f64796bca7e8aed516f2b294120245957;hp=065544654b3f73ad4dfa08495d08f877dcbf73e8;hpb=ebdd6565cbbd2db46833530112c15be0e22afc29;p=umurmur.git diff --git a/src/conf.h b/src/conf.h index 0655446..20141dc 100644 --- a/src/conf.h +++ b/src/conf.h @@ -33,6 +33,8 @@ #include "messages.h" +#define DEFAULT_CONFIG "/etc/umurmur.conf" + typedef enum param { CERTIFICATE, KEY, @@ -52,6 +54,7 @@ typedef struct { const char *parent; const char *name; const char *description; + const char *password; bool_t noenter; } conf_channel_t; @@ -62,6 +65,7 @@ typedef struct { void Conf_init(const char *conffile); void Conf_deinit(); +bool_t Conf_ok(const char *conffile); const char *getStrConf(param_t param); int getIntConf(param_t param);