blob: 58bb87572544d72daa2ae33be8bb908cd8790674 [file] [log] [blame]
Jeff Thompson25b4e612013-10-10 16:03:24 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
Jeff Thompson482fbd52013-07-15 16:45:29 -07002/**
Jeff Thompson7687dc02013-09-13 11:54:07 -07003 * Copyright (C) 2013 Regents of the University of California.
4 * @author: Jeff Thompson <jefft0@remap.ucla.edu>
Jeff Thompson482fbd52013-07-15 16:45:29 -07005 * See COPYING for copyright and distribution information.
6 */
7
Jeff Thompson25b4e612013-10-10 16:03:24 -07008#include <ndn-cpp/encoding/element-listener.hpp>
Jeff Thompson482fbd52013-07-15 16:45:29 -07009
10namespace ndn {
11
Jeff Thompson0050abe2013-09-17 12:50:25 -070012void
Jeff Thompson97223af2013-09-24 17:01:27 -070013ElementListener::staticOnReceivedElement(struct ndn_ElementListener *self, uint8_t *element, size_t elementLength)
Jeff Thompson482fbd52013-07-15 16:45:29 -070014{
15 ((ElementListener *)self)->onReceivedElement(element, elementLength);
16}
17
18}