21 #ifndef NDN_ELEMENT_READER_TYPES_H
22 #define NDN_ELEMENT_READER_TYPES_H
24 #include "../util/dynamic-uint8-array-types.h"
31 typedef void (*ndn_OnReceivedElement)
48 uint8_t headerBuffer[8];
50 unsigned int firstOctet;
65 size_t partialDataLength;
int gotPartialDataError
boolean.
Definition: element-reader-types.h:63
ndn_OnReceivedElement onReceivedElement
see ndn_ElementListener_initialize
Definition: element-reader-types.h:38
int useHeaderBuffer
boolean
Definition: element-reader-types.h:46
int gotElementEnd
boolean
Definition: element-reader-types.h:42
int usePartialData
boolean
Definition: element-reader-types.h:62
An ndn_ElementListener struct holds a function pointer onReceivedElement.
Definition: element-reader-types.h:37
A struct ndn_DynamicUInt8Array holds a pointer to an allocated array, the length of the allocated arr...
Definition: dynamic-uint8-array-types.h:40
Definition: element-reader-types.h:41
A ndn_ElementReader lets you call ndn_ElementReader_onReceivedData multiple times which uses an ndn_T...
Definition: element-reader-types.h:59