be.h (9b1662e67b54e3a4ae04050beacc38645a003a8c) be.h (96c5db5854191eb7ff464c74ea677ee8016b3a9e)
1/*
2 * be.h
3 *
4 * Copyright (c) 2017 Kyle J. Kneitinger <kyle@kneit.in>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 54 unchanged lines hidden (view full) ---

63const char *be_active_name(libbe_handle_t *);
64const char *be_active_path(libbe_handle_t *);
65const char *be_nextboot_name(libbe_handle_t *);
66const char *be_nextboot_path(libbe_handle_t *);
67const char *be_root_path(libbe_handle_t *);
68
69int be_get_bootenv_props(libbe_handle_t *, nvlist_t *);
70int be_get_dataset_props(libbe_handle_t *, const char *, nvlist_t *);
1/*
2 * be.h
3 *
4 * Copyright (c) 2017 Kyle J. Kneitinger <kyle@kneit.in>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 54 unchanged lines hidden (view full) ---

63const char *be_active_name(libbe_handle_t *);
64const char *be_active_path(libbe_handle_t *);
65const char *be_nextboot_name(libbe_handle_t *);
66const char *be_nextboot_path(libbe_handle_t *);
67const char *be_root_path(libbe_handle_t *);
68
69int be_get_bootenv_props(libbe_handle_t *, nvlist_t *);
70int be_get_dataset_props(libbe_handle_t *, const char *, nvlist_t *);
71int be_get_dataset_snapshots(libbe_handle_t *, const char *, nvlist_t *);
71int be_prop_list_alloc(nvlist_t **be_list);
72void be_prop_list_free(nvlist_t *be_list);
73
74int be_activate(libbe_handle_t *, char *, bool);
75
76/* Bootenv creation functions */
77int be_create(libbe_handle_t *, char *);
78int be_create_from_existing(libbe_handle_t *, const char *, const char *);

--- 43 unchanged lines hidden ---
72int be_prop_list_alloc(nvlist_t **be_list);
73void be_prop_list_free(nvlist_t *be_list);
74
75int be_activate(libbe_handle_t *, char *, bool);
76
77/* Bootenv creation functions */
78int be_create(libbe_handle_t *, char *);
79int be_create_from_existing(libbe_handle_t *, const char *, const char *);

--- 43 unchanged lines hidden ---