Nix 2.35.2
Nix, the purely functional package manager: C API (experimental)
Loading...
Searching...
No Matches
nix_api_main.h
Go to the documentation of this file.
1#ifndef NIX_API_MAIN_H
2#define NIX_API_MAIN_H
13
14#include "nix_api_util.h"
15#include <stdbool.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20// cffi start
21
32
39nix_err nix_set_log_format(nix_c_context * context, const char * format);
40
41// cffi end
42#ifdef __cplusplus
43}
44#endif
48#endif // NIX_API_MAIN_H
nix_err
Type for error codes in the Nix system.
Definition nix_api_util.h:59
nix_err nix_init_plugins(nix_c_context *context)
Loads the plugins specified in Nix's plugin-files setting.
nix_err nix_set_log_format(nix_c_context *context, const char *format)
Sets the log format.
Main entry for the libutil C bindings.
This object stores error state.