libstore_init

Function libstore_init 

Source
pub unsafe extern "C" fn libstore_init(context: *mut c_context) -> err
Expand description

@brief Initializes the Nix store library

This function should be called before creating a Store This function can be called multiple times.

@param[out] context Optional, stores error information @return NIX_OK if the initialization was successful, an error code otherwise.