blob: 32c0cfb7a0e879aa505ffa202acec7bd44bcfbc0 [file] [log] [blame]
Jeff Thompson56ec9e22013-08-02 11:34:07 -07001/**
2 * @author: Jeff Thompson
3 * See COPYING for copyright and distribution information.
4 */
5
6#ifndef NDN_BINARY_XML_DATA_H
Jeff Thompsona0d18c92013-08-06 13:55:32 -07007#define NDN_BINARY_XML_DATA_H
Jeff Thompson56ec9e22013-08-02 11:34:07 -07008
9#include "../errors.h"
10#include "../data.h"
Jeff Thompson53412192013-08-06 13:35:50 -070011#include "binary-xml-encoder.h"
12#include "binary-xml-decoder.h"
Jeff Thompson56ec9e22013-08-02 11:34:07 -070013
Jeff Thompsona0d18c92013-08-06 13:55:32 -070014#ifdef __cplusplus
Jeff Thompson56ec9e22013-08-02 11:34:07 -070015extern "C" {
16#endif
17
18ndn_Error ndn_encodeBinaryXmlData(struct ndn_Data *data, struct ndn_BinaryXmlEncoder *encoder);
19
20ndn_Error ndn_decodeBinaryXmlData(struct ndn_Data *data, struct ndn_BinaryXmlDecoder *decoder);
21
Jeff Thompsona0d18c92013-08-06 13:55:32 -070022#ifdef __cplusplus
Jeff Thompson56ec9e22013-08-02 11:34:07 -070023}
24#endif
25
26#endif