2 #ifndef NDN_TRUST_SCHEMA_RULE_H 3 #define NDN_TRUST_SCHEMA_RULE_H 38 const char* data_name_pattern_string, uint32_t data_name_pattern_string_size,
39 const char* key_name_pattern_string, uint32_t key_name_pattern_string_size);
49 #endif // NDN_TRUST_SCHEMA_RULE_H int ndn_trust_schema_rule_copy(const ndn_trust_schema_rule_t *lhs, ndn_trust_schema_rule_t *rhs)
Copy the lhs rule to the rhs rule.
Definition: ndn-trust-schema-rule.c:26
Definition: ndn-trust-schema-rule.h:10
struct ndn_trust_schema_rule ndn_trust_schema_rule_t
int ndn_trust_schema_rule_from_strings(ndn_trust_schema_rule_t *rule, const char *data_name_pattern_string, uint32_t data_name_pattern_string_size, const char *key_name_pattern_string, uint32_t key_name_pattern_string_size)
Init an NDN Trust Schema rule from two strings.
Definition: ndn-trust-schema-rule.c:5
The structure to represent the NDN Trust Schema pattern.
Definition: ndn-trust-schema-pattern.h:18
ndn_trust_schema_pattern_t data_pattern
The NDN trust schema pattern which represents the required data name pattern of this rule.
Definition: ndn-trust-schema-rule.h:14
ndn_trust_schema_pattern_t key_pattern
The NDN trust schema pattern which represents the required key name pattern of this rule.
Definition: ndn-trust-schema-rule.h:19