Issue 15 - Patch by tilman2: Drop privileges optionally
[umurmur.git] / src / conf.h
index 04beaa3ba55428d44b4de29bba472e73bd758981..6e0a6662a8e106894905987dadea2903d1b577c7 100644 (file)
@@ -42,22 +42,24 @@ typedef enum param {
        WELCOMETEXT,
        MAX_BANDWIDTH,
        MAX_CLIENTS,
-       DEAFULT_CHANNEL,
+       DEFAULT_CHANNEL,
+       USERNAME,
+       GROUPNAME,
 } param_t;
 
 typedef struct {
-       char parent[MAX_TEXT];
-       char name[MAX_TEXT];
-       char description[MAX_TEXT];
+       const char *parent;
+       const char *name;
+       const char *description;
        bool_t noenter;
 } conf_channel_t;
 
 typedef struct {
-       char source[MAX_TEXT];
-       char destination[MAX_TEXT];
+       const char *source;
+       const char *destination;
 } conf_channel_link_t;
 
-int Conf_init(const char *conffile);
+void Conf_init(const char *conffile);
 void Conf_deinit();
 
 const char *getStrConf(param_t param);