freebsd-skq/sys/contrib
Mariusz Zaborski 347a39b4a6 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)
2015-08-15 06:34:49 +00:00
..
alpine-hal Import Annapurna Labs Alpine HAL to sys/contrib/ 2015-07-28 14:20:33 +00:00
cloudabi Import the latest CloudABI system call definitions and table. 2015-08-05 13:09:46 +00:00
dev Import OpenBSD's iwm WiFi driver for Intel 3160/7260/7265. 2015-08-08 06:06:48 +00:00
ipfilter/netinet CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
libfdt Update to latest git version of dtc to get new dtsv2 support, 2012-07-24 16:29:33 +00:00
libnv Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Turns out that there really isn't an RTC chip on this board, at all. 2013-05-12 01:29:18 +00:00
rdma/krping Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
v4l Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
vchiq/interface CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
x86emu Sync with OpenBSD: Use volatile instead of __volatile__. 2015-04-13 20:23:46 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00