Guardtime KSI c SDK
|
#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 |
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.
KSI_TlvElement_st::KSI_LIST | ( | KSI_TlvElement | ) |
List of sub elements.
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.