name-types.h
1 
21 #ifndef NDN_NAME_TYPES_H
22 #define NDN_NAME_TYPES_H
23 
24 #include "util/blob-types.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
34  struct ndn_Blob value;
35 };
36 
40 struct ndn_Name {
42  size_t maxComponents;
43  size_t nComponents;
44 };
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif
struct ndn_NameComponent * components
pointer to the array of components.
Definition: name-types.h:41
size_t nComponents
the number of components in the name
Definition: name-types.h:43
Copyright (C) 2015-2016 Regents of the University of California.
Definition: name-types.h:33
struct ndn_Blob value
A Blob with a pointer to the pre-allocated buffer for the component value.
Definition: name-types.h:34
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 maxComponents
the number of elements in the allocated components array
Definition: name-types.h:42