Must enable UDP when receiving ping packets too.
[umurmur.git] / src / conf.h
index 3a469b27e6e41f2ee9d6b40c8932232dd9510b1c..7967716fa04a65a22f43d5493a3a171a77487464 100644 (file)
@@ -1,5 +1,5 @@
-/* Copyright (C) 2009, Martin Johansson <martin@fatbob.nu>
-   Copyright (C) 2005-2009, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2010, Martin Johansson <martin@fatbob.nu>
+   Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
 
    All rights reserved.
 
@@ -42,18 +42,19 @@ typedef enum param {
        WELCOMETEXT,
        MAX_BANDWIDTH,
        MAX_CLIENTS,
-       DEAFULT_CHANNEL,
+       DEFAULT_CHANNEL,
 } 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);