|
Volksdata 1.0b7
RDF library
|

Macros | |
| #define | DEFAULT_CTX_LABEL VOLK_NS "default" |
| Default context. | |
Functions | |
| VOLK_rc | VOLK_init (void) |
| Initialize the default environment. | |
| void | VOLK_done (void) |
| Close the default environment. | |
| VOLK_rc | VOLK_env_put_id (const uint32_t key, const char *data) |
| const char * | VOLK_env_get_id (const uint32_t key) |
Variables | |
| struct hashmap * | VOLK_store_reg |
| Internal registry of store handles. | |
| #define DEFAULT_CTX_LABEL VOLK_NS "default" |
Default context.
The actual default context IRI used throughout the application may use a value from the VOLK_DEFAULT_CTX_URI environment variable.
Definition at line 41 of file environment.h.
| VOLK_rc VOLK_init | ( | void | ) |
Initialize the default environment.
This must be called before using the library.
The default environment is cleaned up automatically on exit.
This environment should suit most cases, unless an application needs to use multiple environments and call VOLK_init with specific handles. Such other environment(s) must be freed up manually with VOLK_done().
Definition at line 65 of file environment.c.
| void VOLK_done | ( | void | ) |
Close the default environment.
This is called by atexit(). If called before then, subsequent calls have no effect.
Definition at line 129 of file environment.c.
| VOLK_rc VOLK_env_put_id | ( | const uint32_t | key, |
| const char * | data ) |
TODO
| const char * VOLK_env_get_id | ( | const uint32_t | key | ) |
TODO
|
extern |
Internal registry of store handles.
mdbstore_new() checks this table for store handles already created. LMDB does not allow opening the same environment multiple times within the same process.
Definition at line 151 of file environment.c.