1 |
/* |
/* |
2 |
* Cisco 7200 (Predator) simulation platform. |
* Cisco router simulation platform. |
3 |
* Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) |
* Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) |
4 |
*/ |
*/ |
5 |
|
|
65 |
void parser_context_free(parser_context_t *ctx); |
void parser_context_free(parser_context_t *ctx); |
66 |
|
|
67 |
/* Send a buffer to the tokenizer */ |
/* Send a buffer to the tokenizer */ |
68 |
int parser_scan_buffer(parser_context_t *ctx,u_char *buf,size_t buf_size); |
int parser_scan_buffer(parser_context_t *ctx,char *buf,size_t buf_size); |
69 |
|
|
70 |
/* Tokenize a string */ |
/* Tokenize a string */ |
71 |
int parser_tokenize(char *str,struct parser_token **tokens,int *tok_count); |
int parser_tokenize(char *str,struct parser_token **tokens,int *tok_count); |