21 #ifndef NDN_NAME_TYPES_H
22 #define NDN_NAME_TYPES_H
24 #include "util/blob-types.h"
34 ndn_NameComponentType_IMPLICIT_SHA256_DIGEST = 1,
35 ndn_NameComponentType_GENERIC = 8
36 } ndn_NameComponentType;
42 ndn_NameComponentType type;
struct ndn_NameComponent * components
pointer to the array of components.
Definition: name-types.h:50
size_t nComponents
the number of components in the name
Definition: name-types.h:52
An ndn_NameComponent holds a pointer to the component value.
Definition: name-types.h:41
struct ndn_Blob value
A Blob with a pointer to the pre-allocated buffer for the component value.
Definition: name-types.h:43
An ndn_Name holds an array of ndn_NameComponent.
Definition: name-types.h:49
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:51