tlv-interest.h
1 
21 #ifndef NDN_TLV_INTEREST_H
22 #define NDN_TLV_INTEREST_H
23 
24 #include "../../interest.h"
25 #include "tlv-encoder.h"
26 #include "tlv-decoder.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 ndn_Error
33 ndn_encodeTlvInterest
34  (const struct ndn_Interest *interest, size_t *signedPortionBeginOffset,
35  size_t *signedPortionEndOffset, struct ndn_TlvEncoder *encoder);
36 
37 ndn_Error
38 ndn_decodeTlvInterest
39  (struct ndn_Interest *interest, size_t *signedPortionBeginOffset,
40  size_t *signedPortionEndOffset, struct ndn_TlvDecoder *decoder);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
An ndn_Interest holds an ndn_Name and other fields for an interest.
Definition: interest-types.h:61
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