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. |
||
---|---|---|
.. | ||
tests | ||
common_impl.h | ||
dnv.h | ||
dnvlist.c | ||
Makefile | ||
msgio.c | ||
msgio.h | ||
nv_impl.h | ||
nv.3 | ||
nv.h | ||
nvlist_impl.h | ||
nvlist.c | ||
nvpair_impl.h | ||
nvpair.c |