![]() |
ndn-lite
|
The structure to represent an NDN Trust Schema Pattern Component. More...
#include <ndn-trust-schema-pattern-component.h>
Data Fields | |
uint32_t | type |
The component type. More... | |
uint8_t | value [NDN_TRUST_SCHEMA_PATTERN_COMPONENT_BUFFER_SIZE] |
The value which the trust schema pattern component holds. More... | |
uint8_t | subpattern_info |
A bit field for storing information regarding subpattern indexing information. More... | |
uint32_t | size |
The size of component value buffer. More... | |
The structure to represent an NDN Trust Schema Pattern Component.
uint32_t ndn_trust_schema_pattern_component::size |
The size of component value buffer.
uint8_t ndn_trust_schema_pattern_component::subpattern_info |
A bit field for storing information regarding subpattern indexing information.
The first two bits interpreted as an unsigned integer store whether this component is the beginning of a subpattern, the end of a subpattern, both, or neither. The actual values can be found in ndn-constants.h. The next three bits interpreted as an unsigned integer store the index x of the subpattern if the pattern component is the beginning of a subpattern with index x. The last three bits interpreted as an unsigned integer store the index x of the subpattern if the pattern component is the end of a subpattern with index x.
uint32_t ndn_trust_schema_pattern_component::type |
The component type.
uint8_t ndn_trust_schema_pattern_component::value[NDN_TRUST_SCHEMA_PATTERN_COMPONENT_BUFFER_SIZE] |
The value which the trust schema pattern component holds.
Format of the buffer depends on the trust schema pattern component type.