be.h (b29bf2f84ea838b1b7dad4e80858b637395930ae) | be.h (734e362fa1a843128dc1f437ef16427084cdf46f) |
---|---|
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 --- 53 unchanged lines hidden (view full) --- 62/* Bootenv information functions: be_info.c */ 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 *); | 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 --- 53 unchanged lines hidden (view full) --- 62/* Bootenv information functions: be_info.c */ 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_prop_list_alloc(nvlist_t **be_list); |
|
70void be_prop_list_free(nvlist_t *be_list); 71 72int be_activate(libbe_handle_t *, char *, bool); 73 74/* Bootenv creation functions */ 75int be_create(libbe_handle_t *, char *); 76int be_create_from_existing(libbe_handle_t *, const char *, const char *); 77int be_create_from_existing_snap(libbe_handle_t *, const char *, const char *); --- 40 unchanged lines hidden --- | 71void be_prop_list_free(nvlist_t *be_list); 72 73int be_activate(libbe_handle_t *, char *, bool); 74 75/* Bootenv creation functions */ 76int be_create(libbe_handle_t *, char *); 77int be_create_from_existing(libbe_handle_t *, const char *, const char *); 78int be_create_from_existing_snap(libbe_handle_t *, const char *, const char *); --- 40 unchanged lines hidden --- |