Declarations

struct Parser

struct Parser

See Parser.

struct Files

struct Files

Dependancy on Files

typedef int (*ParserWidget)(const struct Files *, FILE *fp)

typedef int (*ParserWidget)(const struct Files *, FILE *fp)

All ParserWidgets are in Widget.c

Function Summary

Return TypeFunction NameArgument List
struct Parser * Parser const char *str
void Parser_ struct Parser **const p_ptr
void ParserRewind struct Parser *p
int ParserParse struct Parser *p, const struct Files *f, int invisible, FILE *fp

Function Detail

Parser

struct Parser * Parser (const char *str)
return
Creates a parser for the string, str.

Parser_

void Parser_ (struct Parser **const p_ptr)
parameter: p_ptr
A pointer to the Parser that's to be destucted.

ParserRewind

void ParserRewind (struct Parser *p)

Resets the parser, p.

ParserParse

int ParserParse (struct Parser *p, const struct Files *f, int invisible,
	FILE *fp)

Parse, called recursively.

parameter: f
Called in the handler to ParserWidgets.
parameter: invisible
No output.
parameter: fp
Output.
fixme
This fn needs rewriting; messy.
fixme
Invisible, hack.