freebsd-dev/share
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
..
colldef Add META_MODE support. 2015-06-13 19:20:56 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc Readd merge.awk forgotten while importing the old vi documentation directly into 2015-06-20 00:13:28 +00:00
dtrace Add missing DTrace scripts that exist in the source tree to the Makefile for 2015-06-30 18:23:08 +00:00
examples Add missing shebang 2015-07-04 02:24:47 +00:00
i18n new depends 2015-06-16 23:37:19 +00:00
keys Remove scary comment about this being a test key. 2014-01-13 20:55:15 +00:00
man Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc Add myself into the src graph. 2015-08-09 02:10:20 +00:00
mk bsd.lib.mk: pass NMFLAGS to the lorder script. 2015-08-14 22:55:23 +00:00
mklocale Add META_MODE support. 2015-06-13 19:20:56 +00:00
monetdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
msgdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
numericdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
security Add META_MODE support. 2015-06-13 19:20:56 +00:00
sendmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
skel Add META_MODE support. 2015-06-13 19:20:56 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons Add META_MODE support. 2015-06-13 19:20:56 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
timedef Add META_MODE support. 2015-06-13 19:20:56 +00:00
vt kbdmap(1): Correct menu title: keyboards have a layout, not a language 2015-05-14 18:09:56 +00:00
zoneinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc