Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 17:44:59 +0000
From:      "rstone (Ryan Stone)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] [Request, 60 lines] D1878: Add function to force an nvlist into the error state
Message-ID:  <differential-rev-PHID-DREV-unbw2tdujmvsk4lxpezz-req@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-unbw2tdujmvsk4lxpezz-req>