blob: 8f7aab1e7a511e0855a4f9c2e36f330a1b8a0321 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef __LEXER_H
#define __LEXER_H
typedef enum { INCLUDE } directive_e;
typedef struct {
unsigned int offset;
unsigned int length;
} key_match_t;
typedef struct {
directive_e type;
void *operands;
} directive_t;
directive_t *find_directive(char *content, key_match_t *match);
key_match_t *find_next_key(char *buffer);
#endif
|