55#include "ws_symbol_export.h"
74typedef void (*tvbparse_action_t)(
void* tvbparse_data,
const void* wanted_data,
struct _tvbparse_elem_t* elem);
76typedef int (*tvbparse_condition_t)
204 const void* private_data,
205 tvbparse_action_t before_cb,
206 tvbparse_action_t after_cb);
217 const void* private_data,
218 tvbparse_action_t before_cb,
219 tvbparse_action_t after_cb);
231 const unsigned min_len,
232 const unsigned max_len,
234 const void* private_data,
235 tvbparse_action_t before_cb,
236 tvbparse_action_t after_cb);
249 const unsigned min_len,
250 const unsigned max_len,
252 const void* private_data,
253 tvbparse_action_t before_cb,
254 tvbparse_action_t after_cb);
265 const void* private_data,
266 tvbparse_action_t before_cb,
267 tvbparse_action_t after_cb);
279 tvbparse_action_t before_cb,
280 tvbparse_action_t after_cb);
300 const void* private_data,
301 tvbparse_action_t before_cb,
302 tvbparse_action_t after_cb,
304 until_mode_t until_mode);
317 const void* private_data,
318 tvbparse_action_t before_cb,
319 tvbparse_action_t after_cb,
328 tvbparse_action_t before_cb,
329 tvbparse_action_t after_cb,
349 const void* private_data,
350 tvbparse_action_t before_cb,
351 tvbparse_action_t after_cb,
366 const void* private_data,
367 tvbparse_action_t before_cb,
368 tvbparse_action_t after_cb,
371#define tvbparse_one_or_more(id, private_data, before_cb, after_cb, wanted)\
372 tvbparse_some(id, 1, INT_MAX, private_data, before_cb, after_cb, wanted)
393 tvbparse_action_t before_cb,
394 tvbparse_action_t after_cb,
403void tvbparse_shrink_token_cb(
void* tvbparse_data,
404 const void* wanted_data,
428bool tvbparse_reset(
tvbparse_t* tt,
const int offset,
int len);
Definition tvbparse.h:163
Represents an instance of a per-packet parser for tvbuff data.
Definition tvbparse.h:151
int end_offset
Definition tvbparse.h:155
wmem_allocator_t * scope
Definition tvbparse.h:152
int recursion_depth
Definition tvbparse.h:158
void * data
Definition tvbparse.h:156
int offset
Definition tvbparse.h:154
const tvbparse_wanted_t * ignore
Definition tvbparse.h:157
tvbuff_t * tvb
Definition tvbparse.h:153
Describes a parsing rule or expectation for a tvbuff parser.
Definition tvbparse.h:96
const tvbparse_wanted_t * subelem
Definition tvbparse.h:121
unsigned max
Definition tvbparse.h:136
struct _tvbparse_wanted_t ** handle
Definition tvbparse.h:110
double f
Definition tvbparse.h:115
struct _tvbparse_wanted_t * key
Definition tvbparse.h:125
wmem_map_t * table
Definition tvbparse.h:124
int len
Definition tvbparse.h:133
const void * data
Definition tvbparse.h:138
tvbparse_action_t after
Definition tvbparse.h:141
struct _tvbparse_wanted_t::@496::@497 number
void * p
Definition tvbparse.h:130
GPtrArray * elems
Definition tvbparse.h:128
uint64_t u
Definition tvbparse.h:114
enum ftenum ftenum
Definition tvbparse.h:118
tvbparse_action_t before
Definition tvbparse.h:140
const char * str
Definition tvbparse.h:109
unsigned min
Definition tvbparse.h:135
tvbparse_condition_t condition
Definition tvbparse.h:99
struct _tvbparse_wanted_t * other
Definition tvbparse.h:126
until_mode_t mode
Definition tvbparse.h:120
union _tvbparse_wanted_t::@496 control
Control parameters for the parsing rule.
int id
Definition tvbparse.h:97
int64_t i
Definition tvbparse.h:113
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
Definition tvbuff-int.h:35