Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
Jeff Thompson | 482fbd5 | 2013-07-15 16:45:29 -0700 | [diff] [blame] | 2 | /** |
Jeff Thompson | 7687dc0 | 2013-09-13 11:54:07 -0700 | [diff] [blame] | 3 | * Copyright (C) 2013 Regents of the University of California. |
| 4 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
Jeff Thompson | 482fbd5 | 2013-07-15 16:45:29 -0700 | [diff] [blame] | 5 | * See COPYING for copyright and distribution information. |
| 6 | */ |
| 7 | |
Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 8 | #include <ndn-cpp/encoding/element-listener.hpp> |
Jeff Thompson | 482fbd5 | 2013-07-15 16:45:29 -0700 | [diff] [blame] | 9 | |
| 10 | namespace ndn { |
| 11 | |
Jeff Thompson | 0050abe | 2013-09-17 12:50:25 -0700 | [diff] [blame] | 12 | void |
Jeff Thompson | 97223af | 2013-09-24 17:01:27 -0700 | [diff] [blame] | 13 | ElementListener::staticOnReceivedElement(struct ndn_ElementListener *self, uint8_t *element, size_t elementLength) |
Jeff Thompson | 482fbd5 | 2013-07-15 16:45:29 -0700 | [diff] [blame] | 14 | { |
| 15 | ((ElementListener *)self)->onReceivedElement(element, elementLength); |
| 16 | } |
| 17 | |
| 18 | } |