13#ifndef __PTVCURSOR_H__
14#define __PTVCURSOR_H__
17#include "ws_symbol_export.h"
23#define SUBTREE_UNDEFINED_LENGTH -1
37ptvcursor_add(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding);
43ptvcursor_add_ret_uint(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding, uint32_t *retval);
49ptvcursor_add_ret_int(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding, int32_t *retval);
55ptvcursor_add_ret_string(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding,
wmem_allocator_t *scope,
const uint8_t **retval);
61ptvcursor_add_ret_boolean(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding,
bool *retval);
67ptvcursor_add_no_advance(
ptvcursor_t* ptvc,
int hf,
int length,
const unsigned encoding);
117ptvcursor_add_with_subtree(
ptvcursor_t* ptvc,
int hfindex,
int length,
118 const unsigned encoding,
int ett_subtree);
127ptvcursor_add_text_with_subtree(
ptvcursor_t* ptvc,
int length,
128 int ett_subtree,
const char* format, ...)
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
Definition tvbuff-int.h:35