Nix 2.26.3
Nix, the purely functional package manager: C API (experimental)
 
Loading...
Searching...
No Matches
nix_api_flake.h
Go to the documentation of this file.
1#ifndef NIX_API_FLAKE_H
2#define NIX_API_FLAKE_H
11
12#include "nix_api_store.h"
13#include "nix_api_util.h"
14#include "nix_api_expr.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19// cffi start
20
21typedef struct nix_flake_settings nix_flake_settings;
22
23// Function prototypes
30nix_flake_settings * nix_flake_settings_new(nix_c_context * context);
31
35void nix_flake_settings_free(nix_flake_settings * settings);
36
40nix_err nix_flake_init_global(nix_c_context * context, nix_flake_settings * settings);
41
42#ifdef __cplusplus
43} // extern "C"
44#endif
45
46#endif
nix_err
Type for error codes in the Nix system.
Definition nix_api_util.h:59
nix_err nix_flake_init_global(nix_c_context *context, nix_flake_settings *settings)
Register Flakes support process-wide.
void nix_flake_settings_free(nix_flake_settings *settings)
Release the resources associated with a nix_flake_settings.
nix_flake_settings * nix_flake_settings_new(nix_c_context *context)
Main entry for the libexpr C bindings.
Main entry for the libstore C bindings.
Main entry for the libutil C bindings.
This object stores error state.