|
llconf 0.0.2
|
Information for registering a parser module. More...
#include <modules.h>
Data Fields | |
| struct cnfmodule * | next |
| The next module in the registration list. | |
| char * | name |
| The text name of this parser module. | |
| char * | default_file |
| The file that this module operates on, if none is specified when the parser is instantiated. | |
| struct cnfnode *(* | parser )(struct cnfmodule *cm, FILE *fptr) |
| The function to use to create an in-memory tree from the given stream. | |
| int(* | unparser )(struct cnfmodule *cm, FILE *fptr, struct cnfnode *cn_root) |
| The function to use to write the in-memory tree to the given stream. | |
| struct cnfnode * | opt_root |
| The default set of options for this parser. | |
Information for registering a parser module.
| char* cnfmodule::default_file |
The file that this module operates on, if none is specified when the parser is instantiated.
| char* cnfmodule::name |
The text name of this parser module.
| struct cnfmodule* cnfmodule::next |
The next module in the registration list.
| struct cnfnode* cnfmodule::opt_root |
The default set of options for this parser.
The function to use to create an in-memory tree from the given stream.
The function to use to write the in-memory tree to the given stream.