13#ifndef __PTVCURSOR_H__
14#define __PTVCURSOR_H__
17#include "ws_symbol_export.h"
19#define SUBTREE_UNDEFINED_LENGTH -1
33ptvcursor_add(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding);
39ptvcursor_add_ret_uint(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding, uint32_t *retval);
45ptvcursor_add_ret_int(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding, int32_t *retval);
51ptvcursor_add_ret_string(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding,
wmem_allocator_t *scope,
const uint8_t **retval);
57ptvcursor_add_ret_boolean(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding,
bool *retval);
63ptvcursor_add_no_advance(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding);
113ptvcursor_add_with_subtree(
ptvcursor_t* ptvc,
int hfindex,
int length,
114 const unsigned encoding,
int ett_subtree);
123ptvcursor_add_text_with_subtree(
ptvcursor_t* ptvc,
int length,
124 int ett_subtree,
const char* format, ...)
Definition wmem_allocator.h:27
Definition tvbuff-int.h:35