File: token822.h

package info (click to toggle)
dot-forward 1:0.71-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 544 kB
  • sloc: ansic: 2,859; makefile: 321; sh: 131
file content (37 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef TOKEN822_H
#define TOKEN822_H

struct token822
 {
  int type;
  char *s;
  int slen;
 }
;

#include "gen_alloc.h"
GEN_ALLOC_typedef(token822_alloc,struct token822,t,len,a)

extern int token822_parse();
extern int token822_addrlist();
extern int token822_unquote();
extern int token822_unparse();
extern void token822_free();
extern void token822_reverse();
extern int token822_ready();
extern int token822_readyplus();
extern int token822_append();

#define TOKEN822_ATOM 1
#define TOKEN822_QUOTE 2
#define TOKEN822_LITERAL 3
#define TOKEN822_COMMENT 4
#define TOKEN822_LEFT 5
#define TOKEN822_RIGHT 6
#define TOKEN822_AT 7
#define TOKEN822_COMMA 8
#define TOKEN822_SEMI 9
#define TOKEN822_COLON 10
#define TOKEN822_DOT 11

#endif