Idempotent delete operation for OstreeKernelArgs
ostree_kernel_args_delete_if_present checks if an argument is present in OstreeKernelArgs and delete it. Signed-off-by: Rafael Garcia Ruiz <rafael.garcia@collabora.com>
This commit is contained in:
1 parent
a34e28ebd0
commit
f6d308f130
5 files changed
+35
No files matched your search
@@ -1319,6 +1319,13 @@ extern "C" {
|
||||
kargs: *mut OstreeKernelArgs,
|
||||
arg: *const c_char,
|
||||
) -> gboolean;
|
||||
#[cfg(any(feature = "v2022_7", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2022_7")))]
|
||||
pub fn ostree_kernel_args_delete_if_present(
|
||||
kargs: *mut OstreeKernelArgs,
|
||||
arg: *const c_char,
|
||||
error: *mut *mut glib::GError,
|
||||
) -> gboolean;
|
||||
#[cfg(any(feature = "v2019_3", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2019_3")))]
|
||||
pub fn ostree_kernel_args_append_proc_cmdline(
|
||||
|
||||
Reference in new issue
Block a user