tranger2_startup()
#
Initializes the TimeRanger 2 database, setting up its internal structures and preparing it for use. The function requires a hgobj
instance and a JSON configuration object that defines database parameters.
Prototype
json_t *tranger2_startup(
hgobj gobj,
json_t *jn_tranger,
yev_loop_h yev_loop
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A handle to the GObj framework instance managing the database. |
|
|
A JSON object containing database configuration parameters. See |
|
|
An event loop handle for asynchronous operations. |
Return Value
A JSON object representing the initialized TimeRanger 2 database instance.
Notes
The returned JSON object must be properly managed and eventually passed to tranger2_stop()
or tranger2_shutdown()
to release resources.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples