| #
ecb5fe3c
|
| 03-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
nv.9: Add a new subsection documenting kernel-specific behavior
Reviewed by: emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D48257
|
| #
ae1cc418
|
| 03-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
nv.9: Editorial pass
Various rewording tweaks and clarifications to some behavior (e.g. nvlist_size doesn't require calling nvlist_pack first).
Reviewed by: pjd Sponsored by: Chelsio Communications
nv.9: Editorial pass
Various rewording tweaks and clarifications to some behavior (e.g. nvlist_size doesn't require calling nvlist_pack first).
Reviewed by: pjd Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D48256
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
14ba7925
|
| 07-Nov-2022 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
nv.9: Improve style in one of the examples.
Reviewed by: allanjude, oshogbo Approved by: allanjude, oshogbo Differential Revision: https://reviews.freebsd.org/D38287
|
| #
ecb5fe3c
|
| 03-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
nv.9: Add a new subsection documenting kernel-specific behavior
Reviewed by: emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D48257
|
| #
ae1cc418
|
| 03-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
nv.9: Editorial pass
Various rewording tweaks and clarifications to some behavior (e.g. nvlist_size doesn't require calling nvlist_pack first).
Reviewed by: pjd Sponsored by: Chelsio Communications
nv.9: Editorial pass
Various rewording tweaks and clarifications to some behavior (e.g. nvlist_size doesn't require calling nvlist_pack first).
Reviewed by: pjd Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D48256
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
14ba7925
|
| 07-Nov-2022 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
nv.9: Improve style in one of the examples.
Reviewed by: allanjude, oshogbo Approved by: allanjude, oshogbo Differential Revision: https://reviews.freebsd.org/D38287
|
| #
1093ff61
|
| 18-Jun-2018 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
libnv: add note about nvlist_pack and nvlist_unpack
Fix small typo as well.
Submitted by: Mindaugas Rasiukevicius <rmind@netbsd.org>
|
| #
24881c06
|
| 18-Jun-2018 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
libnv: Add nvlist_append_*_array() family of functions.
The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions allows to dynamically extend array stored in the nvlist.
Submitted
libnv: Add nvlist_append_*_array() family of functions.
The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions allows to dynamically extend array stored in the nvlist.
Submitted by: Mindaugas Rasiukevicius <rmind@netbsd.org>
show more ...
|
| #
a1b5ae33
|
| 16-Sep-2017 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Fix names of the array functions in the nv man page.
Submitted by: def@ MFC after: 1 week
|
| #
e98a6727
|
| 28-Aug-2015 |
Mark Johnston <markj@FreeBSD.org> |
nv.h lives in sys/ as of r279439.
|
| #
347a39b4
|
| 15-Aug-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Add support for the arrays in nvlist library.
- Add nvlist_{add,get,take,move,exists,free}_{number,bool,string,nvlist, descriptor} functions. - Add support for (un)packing arrays. - Add the nvl_
Add support for the arrays in nvlist library.
- Add nvlist_{add,get,take,move,exists,free}_{number,bool,string,nvlist, descriptor} functions. - Add support for (un)packing arrays. - Add the nvl_array_next field to the nvlist structure. If an array is added by the nvlist_{move,add}_nvlist_array function this field will contains next element in the array. - Add the nitems field to the nvpair and nvpair_header structure. This field contains number of elements in the array. - Add special flag (NV_FLAG_IN_ARRAY) which is set if nvlist is a part of an array. - Add special type (NV_TYPE_NVLIST_ARRAY_NEXT).This type is used only on packing/unpacking. - Add new API for traversing arrays (nvlist_get_array_next). - Add the nvlist_get_pararr function which combines the nvlist_get_array_next and nvlist_get_parent functions. If nvlist is in the array it will return next element from array. If nvlist is last element in array or it isn't in array it will return his container (parent). This function should simplify traveling over nvlist. - Add tests for new features. - Add documentation for new functions. - Add my copyright. - Regenerate the sys/cddl/compat/opensolaris/sys/nvpair.h file.
PR: 191083 Reviewed by: allanjude (doc) Approved by: pjd (mentor)
show more ...
|
| #
89ca10c6
|
| 11-Aug-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Make the nvlist_next(9) function handle NULL pointer variable. This simplifies removing the first element from nvlist.
Reviewed by: AllanJude Approved by: pjd (mentor)
|
| #
98701874
|
| 13-Jul-2015 |
Christian Brueffer <brueffer@FreeBSD.org> |
Markup fixes.
|
| #
58c86148
|
| 04-Jul-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Move nvlist documentation to the FreeBSD Kernel Developer's sections.
Approved by: pjd (mentor)
|
| #
169c153b
|
| 02-May-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Introduce the NV_FLAG_NO_UNIQUE flag. When set, it allows to store multiple values using the same key in a nvlist.
Approved by: pjd (mentor) Obtained from: WHEEL Systems (http://www.wheelsystems.com
Introduce the NV_FLAG_NO_UNIQUE flag. When set, it allows to store multiple values using the same key in a nvlist.
Approved by: pjd (mentor) Obtained from: WHEEL Systems (http://www.wheelsystems.com)
Update man page.
Reviewed by: AllanJude Approved by: pjd (mentor)
show more ...
|
| #
bd1da0a0
|
| 02-May-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that specifies flags expected on the received nvlist. Receiving a nvlist wi
Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that specifies flags expected on the received nvlist. Receiving a nvlist with different set of flags than the ones we expect might lead to undefined behaviour, which might be potentially dangerous.
Update consumers of this and related functions and update the tests.
Approved by: pjd (mentor)
Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist and cap_xfer_nvlist.
Reviewed by: AllanJude Approved by: pjd (mentor)
show more ...
|
| #
24f93ee7
|
| 01-May-2015 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Add nvlist_flags() function, which returns nvlist's public flags.
Approved by: pjd (mentor)
|
| #
a87e5162
|
| 01-Mar-2015 |
Ryan Stone <rstone@FreeBSD.org> |
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writi
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writing APIs that use nvlists internally.
Differential Revision: https://reviews.freebsd.org/D1878 Reviewed by: pjd, jfv MFC After: 1 month Sponsored by: Sandvine Inc.
show more ...
|
| #
aa2e2bda
|
| 30-Jan-2015 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Modify nvlist_get_parent() API to take additional cookie argument. This allow for non-recursive iteration over nested nvlists, as in documented example.
Submitted by: Mariusz Zaborski <oshogbo@FreeB
Modify nvlist_get_parent() API to take additional cookie argument. This allow for non-recursive iteration over nested nvlists, as in documented example.
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
show more ...
|
| #
19a5e7fe
|
| 25-Sep-2014 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Document the new nvlist_get_parent() function.
Submitted by: Mariusz Zaborski
|
| #
2b7af31c
|
| 23-Jun-2014 |
Baptiste Daroussin <bapt@FreeBSD.org> |
use .Mt to mark up email addresses consistently (part3)
PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
|
| #
888fc9f2
|
| 17-May-2014 |
Ryan Stone <rstone@FreeBSD.org> |
Correct a typo.
MFC after: 1 week
|
| #
97d1a20d
|
| 21-Mar-2014 |
Bryan Drewery <bdrewery@FreeBSD.org> |
nv(3) was not in 10.0.
It might be MFC'd to stable/10 for 10.1, but for now update the manual to avoid confusion on its availability.
Discussed with: pjd
|