|
Volksdata 1.0b7
RDF library
|
#include "volksdata/namespace.h"
Go to the source code of this file.
Data Structures | |
| struct | dump_iter_t |
| Iterator for dumping NS map. More... | |
Functions | |
| VOLK_rc | VOLK_nsmap_add (const char *pfx, const char *nsstr) |
| Add a prefix -> namespace pair to the map or update it. | |
| VOLK_rc | VOLK_nsmap_remove (const char *pfx) |
| Remove a prefix -> namespace pair from a map. | |
| const char * | VOLK_nsmap_get_ns (const char *pfx) |
| Get the namespace for a prefix. | |
| const char * | VOLK_nsmap_get_pfx (const char *ns) |
| Get the prefix for a namespace. | |
| VOLK_rc | VOLK_nsmap_normalize_uri (const char *pfx_uri, char **fq_uri_p) |
| Convert a namespace-prefixed string to a FQ URI sring if mapped. | |
| VOLK_rc | VOLK_nsmap_denormalize_uri (const char *fq_uri, char **pfx_uri_p) |
| Convert a FQ URI string to a prefixed string if the prefix is found. | |
| const char *** | VOLK_nsmap_dump (void) |
| Dump all entries of the namespace map. | |
Variables | |
| struct hashmap * | VOLK_default_nsm = NULL |
| Default namespace prefix map. | |