Function dora_node_api_c::init_dora_context_from_env

source ยท
#[no_mangle]
pub extern "C" fn init_dora_context_from_env() -> *mut c_void
Expand description

Initializes a dora context from the environment variables that were set by the dora-coordinator.

Returns a pointer to the dora context on success. This pointer can be used to call dora API functions that expect a context argument. Any other use is prohibited. To free the dora context when it is no longer needed, use the free_dora_context function.

On error, a null pointer is returned.