s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
token822.h
Go to the documentation of this file.
1#ifndef TOKEN822_H
2#define TOKEN822_H
3
4#include "genalloc.h"
5
6struct token822 {
7 int type;
8 char *s;
9 int slen;
10};
11
12GEN_ALLOC_typedef(token822_alloc,struct token822,t,len,a)
13
14int token822_parse();
23
24#define TOKEN822_ATOM 1
25#define TOKEN822_QUOTE 2
26#define TOKEN822_LITERAL 3
27#define TOKEN822_COMMENT 4
28#define TOKEN822_LEFT 5
29#define TOKEN822_RIGHT 6
30#define TOKEN822_AT 7
31#define TOKEN822_COMMA 8
32#define TOKEN822_SEMI 9
33#define TOKEN822_COLON 10
34#define TOKEN822_DOT 11
35
36#endif
int slen
Definition: token822.h:9
char * s
Definition: token822.h:8
int type
Definition: token822.h:7
int token822_parse(token822_alloc *ta, stralloc *sa, stralloc *buf)
Definition: token822.c:216
int token822_ready()
void token822_free()
void token822_reverse()
int token822_unparse()
GEN_ALLOC_typedef(token822_alloc, struct token822, t, len, a) int token822_parse()
int token822_append()
int token822_readyplus()
int token822_unquote()
int token822_addrlist()