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
|
@ -283,8 +283,8 @@ extern int check_plane_ok(struct plnstr *);
|
|||
extern int check_comm_ok(struct comstr *);
|
||||
extern int check_loan_ok(struct lonstr *);
|
||||
extern int check_trade_ok(struct trdstr *);
|
||||
/* ef_load.c */
|
||||
/* in file.h */
|
||||
/* conftab.c */
|
||||
extern int read_config_tables(void);
|
||||
/* ef_verify.c */
|
||||
/* in file.h */
|
||||
/* fsize.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue