-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libpriv/kargs: Strengthen and simplify new kargs APIs
Note this patch only touches the *new* APIs that aren't part of libostree. Now that we can use `g_ptr_array_find_with_equal_func`, we can drop our custom `_ostree_ptr_array_find`. Also strengthen our handling of values everywhere to handle the `NULL` case and properly support `KEYWORD` args. I ended up getting rid of `_ostree_kernel_arg_query_status` in the process since it made that assumption a lot and overall added more complexity than necessary. Closes: #1796 Approved by: cgwalters
- Loading branch information
1 parent
9613081
commit 02b25c6
Showing
4 changed files
with
110 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.