User:Antigng-bot/wikitemplate.h

void checkparsestate(const char ch,struct _parsestate *p,int *nowiki,int *comment,int *link,int *ref);
int tempprocess(struct _templatehead *temp,int *nowiki,int *comment,int *link,int *ref,struct _parsestate *pstate,struct http *txt,const int depth);
void parsestatefinal(struct _parsestate *p,int *nowiki,int *comment,int *link,int *ref);
#ifndef _elem
union _elem
{
	char *ch;
	struct _templatehead *temp;
};
#endif
#ifndef _value
struct _value
{
	int type;
	union _elem elem;
	struct _value *next;
};
#endif
#ifndef _template
struct _template
{
	int nameflag;
	int valueflag;
	struct _value *name;
	struct _template *next;
	struct _value *value;
};
#endif
#ifndef _templatehead
struct _templatehead
{
	char tempname[8192];
	int totalbytes;
	struct _template *content;
	int rot;
	int overflow;
};
#endif
#ifndef TEMPLATE_OK
#define TEMPLATE_OK 0
#endif
#ifndef TEMPLATE_ROTTEN
#define TEMPLATE_ROTTEN 1
#endif
#ifndef _parsestate
struct _parsestate
{
	char tag[32];
	int tagpos;
	int tagstate;
	int commentstate;
	int linkstate;
	int dashcount;
	char reftag[1024];
	int refpos;
	int refstate;
};
#endif