llconf  0.0.2
Data Fields
cnfmodule Struct Reference

Information for registering a parser module. More...

#include <modules.h>

Data Fields

struct cnfmodulenext
 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 cnfnodeopt_root
 The default set of options for this parser.

Detailed Description

Information for registering a parser module.


Field Documentation

The file that this module operates on, if none is specified when the parser is instantiated.

The text name of this parser module.

The next module in the registration list.

The default set of options for this parser.

struct cnfnode*(* cnfmodule::parser)(struct cnfmodule *cm, FILE *fptr) [read]

The function to use to create an in-memory tree from the given stream.

int(* cnfmodule::unparser)(struct cnfmodule *cm, FILE *fptr, struct cnfnode *cn_root)

The function to use to write the in-memory tree to the given stream.


The documentation for this struct was generated from the following file: