X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=conffile_internal.h;h=4e022b81211d58dae5799f3155334b648571e698;hb=59938e0ed0c8ac267c3715a25a0a3ed27f7a7e47;hp=710fd965245aff592a3cb8805b51016c9115f724;hpb=2fe58dfd10216a37f1ece081f926971882de112e;p=secnet.git diff --git a/conffile_internal.h b/conffile_internal.h index 710fd96..4e022b8 100644 --- a/conffile_internal.h +++ b/conffile_internal.h @@ -1,16 +1,10 @@ -/* - * $Log$ - */ - #ifndef conffile_internal_h #define conffile_internal_h #include #include "secnet.h" -extern FILE *yyin; - -typedef string_t atom_t; +typedef cstring_t atom_t; /* Parse tree for configuration file */ @@ -41,13 +35,13 @@ struct p_node { struct p_node *r; }; -extern int yylex(void); -extern string_t config_file; +extern cstring_t config_file; extern uint32_t config_lineno; +extern int yynerrs; /* Keys in dictionaries are 'atoms', which are constructed from strings using this call. Atoms may be compared using '=='. */ -extern atom_t intern(string_t string); +extern atom_t intern(cstring_t string); extern struct p_node *parse_conffile(FILE *conffile);