diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-04 19:00:46 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-04 19:00:46 -0800 |
commit | 5823e2382c11cb9cdbe895c7e34b045a25c3bd78 (patch) | |
tree | b05d73b2755a22d00fca2e46dcec80c08b3fff6f /gencode.h | |
parent | 720b9a33921bbc017ef39bd57dc25a8e9ce9535c (diff) |
Generate a reentrant lexical analyzer and parser.
This doesn't make pcap_compile() completely reentrant and thread-safe,
but it's a significant step along the way.
Get rid of some stuff left over from when we supported classic Lex.
Diffstat (limited to 'gencode.h')
-rw-r--r-- | gencode.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -353,9 +353,7 @@ void finish_parse(struct block *); char *sdup(const char *); struct bpf_insn *icode_to_fcode(struct block *, u_int *); -int pcap_parse(void); -void lex_init(const char *); -void lex_cleanup(void); +int pcap_parse(void *); void sappend(struct slist *, struct slist *); /* XXX */ |