blob: 25045aed392ba683750e7c04176b713e1d9168a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef PARSER_H
#define PARSER_H
extern int blen;
enum btype {
BEGIN = 1,
END, PAIR,
ERROR
};
struct byte {
enum btype type;
char *value;
};
struct byte *parse(unsigned char *buf);
#endif
|