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)
49 uint8_t headerBuffer[10];
60 uint8_t headerBuffer[8];
62 unsigned int firstOctet;
78 size_t partialDataLength;
int useHeaderBuffer
boolean
Definition: element-reader-types.h:47
int gotPartialDataError
boolean.
Definition: element-reader-types.h:76
ndn_OnReceivedElement onReceivedElement
see ndn_ElementListener_initialize
Definition: element-reader-types.h:38
int useHeaderBuffer
boolean
Definition: element-reader-types.h:58
int gotElementEnd
boolean
Definition: element-reader-types.h:54
int usePartialData
boolean
Definition: element-reader-types.h:75
int gotElementEnd
boolean
Definition: element-reader-types.h:42
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:53
Definition: element-reader-types.h:41
int useTlv
boolean
Definition: element-reader-types.h:79
A ndn_ElementReader lets you call ndn_ElementReader_onReceivedData multiple times which uses an ndn_B...
Definition: element-reader-types.h:71