Guardtime KSI c SDK
Public Member Functions | Data Fields
KSI_TlvElement_st Struct Reference

#include <tlv_element.h>

Public Member Functions

 KSI_LIST (KSI_TlvElement)*subList
 

Data Fields

size_t ref
 
KSI_FTLV ftlv
 
unsigned char * ptr
 
int ptr_own
 

Detailed Description

The KSI_TlvElement_st structure represents a complete TLV. If the structure is parsed only a minimal amount of data is copied - all the substructures use the pointer of its parent.

Member Function Documentation

KSI_TlvElement_st::KSI_LIST ( KSI_TlvElement  )

List of sub elements.

Field Documentation

KSI_FTLV KSI_TlvElement_st::ftlv

Basic properties of the TLV.

unsigned char* KSI_TlvElement_st::ptr

Pointer to the underlying TLV. Payload begins at ptr + ftlv.hdr_len.

int KSI_TlvElement_st::ptr_own

Does the element own the pointer (can and should it be freed by KSI_TlvElement_free and KSI_TlvElement_detach).

size_t KSI_TlvElement_st::ref

Reference counter.


The documentation for this struct was generated from the following file: