freebsd-dev/lib/libnv
Ryan Stone a87e516267 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.
2015-03-01 00:22:23 +00:00
..
tests Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
common_impl.h
dnv.h Make libnv headers includable from C++ 2015-03-01 00:01:36 +00:00
dnvlist.c
Makefile Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
msgio.c Remove the limit on descriptors that can be send in one nvlist. 2014-09-14 09:27:12 +00:00
msgio.h MFp4 @1189139: 2013-12-15 22:58:09 +00:00
nv_impl.h Use non-recursive algorithm for traversing nvlists. This also removes 2014-09-14 09:30:09 +00:00
nv.3 Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
nv.h Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
nvlist_impl.h Fix problem on big endian systems introduced in r271579 - when we were 2014-10-09 20:55:05 +00:00
nvlist.c Add function to force an nvlist into the error state 2015-03-01 00:22:23 +00:00
nvpair_impl.h Fix problem on big endian systems introduced in r271579 - when we were 2014-10-09 20:55:05 +00:00
nvpair.c If moving descriptor or binary data to an nvlist fails, we need to close the 2015-01-30 09:44:29 +00:00