projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make configuration file errors print the error via standard logging function. Clean...
[umurmur.git]
/
src
/
conf.h
diff --git
a/src/conf.h
b/src/conf.h
index 04beaa3ba55428d44b4de29bba472e73bd758981..1b9b21e9da929a0a31bf0902f651b1afb45cb1bc 100644
(file)
--- a/
src/conf.h
+++ b/
src/conf.h
@@
-42,22
+42,22
@@
typedef enum param {
WELCOMETEXT,
MAX_BANDWIDTH,
MAX_CLIENTS,
WELCOMETEXT,
MAX_BANDWIDTH,
MAX_CLIENTS,
- DE
AF
ULT_CHANNEL,
+ DE
FA
ULT_CHANNEL,
} param_t;
typedef struct {
} param_t;
typedef struct {
- c
har parent[MAX_TEXT]
;
- c
har name[MAX_TEXT]
;
- c
har description[MAX_TEXT]
;
+ c
onst char *parent
;
+ c
onst char *name
;
+ c
onst char *description
;
bool_t noenter;
} conf_channel_t;
typedef struct {
bool_t noenter;
} 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);