Function nix_init_plugins

Source
pub unsafe extern "C" fn nix_init_plugins(
    context: *mut nix_c_context,
) -> nix_err
Expand description

Loads the plugins specified in Nix’s plugin-files setting. Call this once, after calling your desired init functions and setting relevant settings.

§Arguments

  • context [out] - Optional, stores error information

§Returns

NIX_OK if the initialization was successful, an error code otherwise.