Method
TrackerNamespaceManageradd_prefix
Declaration [src]
void
tracker_namespace_manager_add_prefix (
TrackerNamespaceManager* self,
const char* prefix,
const char* ns
)
Description [src]
Adds prefix as the recognised abbreviaton of namespace.
Only one prefix is allowed for a given namespace, and all prefixes must be unique.
Since 3.3, The TrackerNamespaceManager instances obtained through
tracker_sparql_connection_get_namespace_manager() are “sealed”,
this API call should not performed on those.
Parameters
prefix |
const char* |
A short, unique prefix to identify |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
ns |
const char* |
The URL of the given namespace. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. |