tlv-data.h
1 
21 #ifndef NDN_TLV_DATA_H
22 #define NDN_TLV_DATA_H
23 
24 #include "../../data.h"
25 #include "tlv-encoder.h"
26 #include "tlv-decoder.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
42 ndn_Error
43 ndn_encodeTlvData
44  (const struct ndn_Data *data, size_t *signedPortionBeginOffset,
45  size_t *signedPortionEndOffset, struct ndn_TlvEncoder *encoder);
46 
57 ndn_Error
58 ndn_decodeTlvData
59  (struct ndn_Data *data, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset, struct ndn_TlvDecoder *decoder);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
Definition: data-types.h:78
Copyright (C) 2014-2016 Regents of the University of California.
Definition: tlv-encoder.h:39
Copyright (C) 2014-2016 Regents of the University of California.
Definition: tlv-decoder.h:34