1#ifndef VOLK_NAMESPACE_H
2#define VOLK_NAMESPACE_H
26typedef struct ns_entry_t {
VOLK_rc VOLK_nsmap_remove(const char *pfx)
Remove a prefix -> namespace pair from a map.
const char * VOLK_nsmap_get_pfx(const char *ns)
Get the prefix for a namespace.
struct hashmap * VOLK_default_nsm
Default namespace prefix map.
VOLK_rc VOLK_nsmap_normalize_uri(const char *pfx_uri, char **fq_uri)
Convert a namespace-prefixed string to a FQ URI sring if mapped.
const char * VOLK_nsmap_get_ns(const char *pfx)
Get the namespace for a prefix.
const char *** VOLK_nsmap_dump(void)
Dump all entries of the namespace map.
VOLK_rc VOLK_nsmap_denormalize_uri(const char *fq_uri, char **pfx_uri)
Convert a FQ URI string to a prefixed string if the prefix is found.
VOLK_rc VOLK_nsmap_add(const char *pfx, const char *nsstr)
Add a prefix -> namespace pair to the map or update it.
char VOLK_ns_pfx[PFX_LEN]
Namespace prefix type.
#define PFX_LEN
Namespace prefix length, including terminator.