21 #ifndef NDN_INTEREST_TYPES_H
22 #define NDN_INTEREST_TYPES_H
24 #include "name-types.h"
25 #include "key-types.h"
32 ndn_Exclude_COMPONENT = 0,
54 ndn_Interest_CHILD_SELECTOR_LEFT = 0,
55 ndn_Interest_CHILD_SELECTOR_RIGHT = 1
An ndn_ExcludeEntry holds an ndn_ExcludeType, and if it is a COMPONENT, it holds a pointer to the com...
Definition: interest-types.h:39
size_t nEntries
the number of entries in the exclude, 0 for no exclude
Definition: interest-types.h:50
int mustBeFresh
bool.
Definition: interest-types.h:68
int childSelector
-1 for none
Definition: interest-types.h:67
int selectedDelegationIndex
-1 for none
Definition: interest-types.h:72
struct ndn_Blob nonce
The blob whose value is a pointer to a pre-allocated buffer.
Definition: interest-types.h:70
ndn_Milliseconds interestLifetimeMilliseconds
-1.0 for none
Definition: interest-types.h:69
struct ndn_ExcludeEntry * entries
pointer to the array of entries.
Definition: interest-types.h:48
An ndn_Interest holds an ndn_Name and other fields for an interest.
Definition: interest-types.h:61
An ndn_KeyLocator holds the type of key locator and related data.
Definition: key-types.h:38
int minSuffixComponents
-1 for none
Definition: interest-types.h:63
An ndn_Exclude holds an array of ndn_ExcludeEntry.
Definition: interest-types.h:47
Copyright (C) 2015-2016 Regents of the University of California.
Definition: name-types.h:33
struct ndn_Blob linkWireEncoding
The link whose value is a pointer to a pre-allocated buffer.
Definition: interest-types.h:71
An ndn_Name holds an array of ndn_NameComponent.
Definition: name-types.h:40
Copyright (C) 2015-2016 Regents of the University of California.
Definition: blob-types.h:33
size_t maxEntries
the number of elements in the allocated entries array
Definition: interest-types.h:49
int maxSuffixComponents
-1 for none
Definition: interest-types.h:64