New way to read configuration tables:
(config_tables): New econfig key. (read_config_tables): New, implements config_tables. (main): Call it. Need to call ef_init() and chdir(configdir) first. (ef_init_srv): Don't call ef_init(), since main() did it already. Remove old way to do the same: (ef_load): Remove, along with calls. (empfile): Set configuration tables' member file back to NULL.
This commit is contained in:
parent
e4865d473e
commit
bd65a84eb5
8 changed files with 68 additions and 43 deletions
|
@ -172,7 +172,6 @@ extern int ef_flags(int);
|
|||
extern int ef_byname(char *);
|
||||
extern int ef_byname_from(char *, int *);
|
||||
extern void ef_init(void);
|
||||
extern int ef_load(void);
|
||||
extern int ef_verify(void);
|
||||
|
||||
extern struct empfile empfile[EF_MAX + 1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue