Clean up initialization of nat_ca[]
Factor it out of ef_init_srv() and put it into new nsc_init(), next to nat_ca[].
This commit is contained in:
parent
55ff4f8e3a
commit
400df7be82
3 changed files with 25 additions and 13 deletions
|
@ -249,7 +249,10 @@ extern int nstr_comp(struct nscstr *np, int len, int type, char *str);
|
|||
extern char *nstr_comp_val(char *, struct valstr*, int);
|
||||
extern int nstr_coerce_val(struct valstr *, nsc_type, char *);
|
||||
extern int nstr_exec(struct nscstr *, int, void *);
|
||||
/* src/lib/common/nstreval.c */
|
||||
extern void nstr_exec_val(struct valstr *, natid, void *, nsc_type);
|
||||
extern char *symbol_by_value(int, struct symbol *);
|
||||
/* src/lib/global/nsc.c */
|
||||
extern void nsc_init(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue