22 #ifndef NDN_ELEMENT_LISTENER_LITE_HPP
23 #define NDN_ELEMENT_LISTENER_LITE_HPP
25 #include "../../c/encoding/element-reader-types.h"
29 class ElementListenerLite;
30 typedef void (*OnReceivedElementLite)
31 (ElementListenerLite *
self,
const uint8_t *element,
size_t elementLength);
55 friend class ArduinoYunTcpTransportLite;
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
ndn_OnReceivedElement onReceivedElement
see ndn_ElementListener_initialize
Definition: element-reader-types.h:38
Definition: unix-transport-lite.hpp:32
An ndn_ElementListener struct holds a function pointer onReceivedElement.
Definition: element-reader-types.h:37
ElementListenerLite(OnReceivedElementLite onReceivedElement)
Create an ElementListenerLite to use the onReceivedElement function pointer.
Definition: element-listener-lite.cpp:27
Definition: udp-transport-lite.hpp:32
Definition: tcp-transport-lite.hpp:32