Lines Matching defs:domain
131 /* A domain containing string references */
409 * Within a string reference domain, all strings must be emitted using
411 * byte array or data containing strings not in the domain, you can
412 * create a new null domain that contains no references.
419 * semantics, however only one domain using shared values can exist in a
431 /* Start a new domain with no inner string references */
438 * Create a new string reference domain
441 * domain in a nested fashion.
445 static inline int cbor64_string_ref_domain(base64_t *streamer, char **strings, cbor64_domain_t *domain)
447 domain->strings = strings;
448 domain->emitted = 0;
449 domain->shared_values = false;
455 * Create a new shared value domain
457 * There must be no more than one shared value domain in an output.
460 * domain in a nested fashion.
464 static inline void cbor64_shared_value_domain(char **strings, cbor64_domain_t *domain)
466 domain->strings = strings;
467 domain->emitted = 0;
468 domain->shared_values = true;
474 int cbor64_string_ref(base64_t *streamer, cbor64_domain_t *domain, char *string);
479 int cbor64_utf8_ref(base64_t *streamer, cbor64_domain_t *domain, char *string);