Nix 2.17.0
Nix, the purely functional package manager; stable external interfaces
|
Main entry for the libstore C bindings. More...
Go to the source code of this file.
Typedefs | |
typedef struct Store | Store |
reference to a nix store | |
typedef struct StorePath | StorePath |
nix store path | |
Functions | |
nix_err | nix_libstore_init (nix_c_context *context) |
Initializes the Nix store library. More... | |
nix_err | nix_init_plugins (nix_c_context *context) |
Loads plugins specified in the settings. More... | |
Store * | nix_store_open (nix_c_context *, const char *uri, const char ***params) |
Open a nix store. More... | |
void | nix_store_unref (Store *store) |
Unref a nix store. More... | |
nix_err | nix_store_get_uri (nix_c_context *context, Store *store, char *dest, unsigned int n) |
get the URI of a nix store More... | |
StorePath * | nix_store_parse_path (nix_c_context *context, Store *store, const char *path) |
parse a nix store path into a StorePath More... | |
void | nix_store_path_free (StorePath *p) |
Deallocate a nix StorePath. More... | |
bool | nix_store_is_valid_path (nix_c_context *context, Store *store, StorePath *path) |
check if a storepath is valid (exists in the store) More... | |
nix_err | nix_store_build (nix_c_context *context, Store *store, StorePath *path, void *userdata, void(*cb)(void *userdata, const char *outname, const char *out)) |
Build a nix store path. More... | |
nix_err | nix_store_get_version (nix_c_context *, Store *store, char *dest, unsigned int n) |
get the version of a nix store More... | |
Main entry for the libstore C bindings.