1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libnv
Ryan Stone 814f9a1824 Add macros to make code compile in kernel
Make it possible to compile libnv in the kernel.  Mostly this
involves wrapping functions that have a different signature in
the kernel and in userland (e.g. malloc()) in a macro that will
conditionally expand to the right API depending on whether the
code is being compiled for the kernel or not.

I have also #ifdef'ed out all of file descriptor-handling code,
as well as the unsafe varargs functions.

Differential Revision:		https://reviews.freebsd.org/D1882
Reviewed by:			jfv
MFC after:			1 month
Sponsored by:			Sandvine Inc
2015-03-01 00:22:53 +00:00
..
tests Prevent creation of an invalid nvlist 2015-03-01 00:22:38 +00:00
common_impl.h
dnv.h Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
dnvlist.c Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
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
nv_impl.h Add macros to make code compile in kernel 2015-03-01 00:22:53 +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 macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
nvlist_impl.h Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
nvlist.c Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
nvpair_impl.h Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00
nvpair.c Add macros to make code compile in kernel 2015-03-01 00:22:53 +00:00