Function nix_libstore_init
Source pub unsafe extern "C" fn nix_libstore_init(
context: *mut nix_c_context,
) -> nix_err
Expand description
Initializes the Nix store library
This function should be called before creating a Store
This function can be called multiple times.
§Arguments
context
[out] - Optional, stores error information
§Returns
NIX_OK if the initialization was successful, an error code otherwise.