[Differential] [Request, 60 lines] D1878: Add function to force an nvlist into the error state
rstone (Ryan Stone)
phabric-noreply at FreeBSD.org
Tue Feb 17 17:44:59 UTC 2015
rstone created this revision.
rstone added a reviewer: jfvogel.
rstone added subscribers: pjd, freebsd-net.
REVISION SUMMARY
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.
REVISION DETAIL
https://reviews.freebsd.org/D1878
AFFECTED FILES
lib/libnv/Makefile
lib/libnv/nv.3
lib/libnv/nv.h
lib/libnv/nvlist.c
lib/libnv/tests/nv_tests.cc
To: rstone, jfvogel
Cc: freebsd-net, pjd
More information about the freebsd-net
mailing list