projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add own test cert and key since there seem to be a problem with the ones in 0.14.2
[umurmur.git]
/
src
/
conf.h
diff --git
a/src/conf.h
b/src/conf.h
index c0a0825c47702c0e4bd68c5f3c08cd610f6346a2..6d7bacffd258484e67976666b09b96ce42cf156b 100644
(file)
--- a/
src/conf.h
+++ b/
src/conf.h
@@
-42,21
+42,25
@@
typedef enum param {
WELCOMETEXT,
MAX_BANDWIDTH,
MAX_CLIENTS,
WELCOMETEXT,
MAX_BANDWIDTH,
MAX_CLIENTS,
- DEAFULT_CHANNEL,
+ DEFAULT_CHANNEL,
+ USERNAME,
+ GROUPNAME,
+ LOGFILE,
} param_t;
typedef struct {
} 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 {
} conf_channel_t;
typedef struct {
- c
har source[MAX_TEXT]
;
- c
har destination[MAX_TEXT]
;
+ c
onst char *source
;
+ c
onst char *destination
;
} conf_channel_link_t;
} 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);
void Conf_deinit();
const char *getStrConf(param_t param);