introduce conf_bindname() to drastically simplify conf.c

really liked by oga@
This commit is contained in:
todd
2007-11-13 23:26:04 +00:00
parent 576d299095
commit 4b85adbe60
2 changed files with 142 additions and 195 deletions

View File

@@ -405,6 +405,7 @@ int conf_get_int(struct client_ctx *, enum conftype);
void conf_client(struct client_ctx *);
void conf_bindkey(struct conf *, void (*)(struct client_ctx *, void *),
int, int, int, void *);
void conf_bindname(struct conf *, char *, char *);
void conf_parsekeys(struct conf *, char *);
void conf_parsesettings(struct conf *, char *);
void conf_parseignores(struct conf *, char *);