{"push_id":759182092,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"fe707ca6b5c69e935fa7a2b439769a39a9886247","before":"d47d0c107187fca9965346606d70000542f92cd8","commits":[{"sha":"fe707ca6b5c69e935fa7a2b439769a39a9886247","author":{"email":"5fff48c1c976a4abbea035f48706469550113aea@FreeBSD.org","name":"oshogbo"},"message":"Add support for the arrays in nvlist library.\n\n- Add\n  nvlist_{add,get,take,move,exists,free}_{number,bool,string,nvlist,\n  descriptor} functions.\n- Add support for (un)packing arrays.\n- Add the nvl_array_next field to the nvlist structure.\n  If an array is added by the nvlist_{move,add}_nvlist_array function\n  this field will contains next element in the array.\n- Add the nitems field to the nvpair and nvpair_header structure.\n  This field contains number of elements in the array.\n- Add special flag (NV_FLAG_IN_ARRAY) which is set if nvlist is a part of\n  an array.\n- Add special type (NV_TYPE_NVLIST_ARRAY_NEXT).This type is used only\n  on packing/unpacking.\n- Add new API for traversing arrays (nvlist_get_array_next).\n- Add the nvlist_get_pararr function which combines the\n  nvlist_get_array_next and nvlist_get_parent functions. If nvlist is in\n  the array it will return next element from array. If nvlist is last\n  element in array or it isn't in array it will return his\n  container (parent). This function should simplify traveling over nvlist.\n- Add tests for new features.\n- Add documentation for new functions.\n- Add my copyright.\n- Regenerate the sys/cddl/compat/opensolaris/sys/nvpair.h file.\n\nPR:\t\t191083\nReviewed by:\tallanjude (doc)\nApproved by:\tpjd (mentor)","distinct":true,"url":"https://api.github.com/repos/freebsd/freebsd/commits/fe707ca6b5c69e935fa7a2b439769a39a9886247"}]}