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
..
2014-11-25 11:07:26 +00:00
2014-12-23 10:43:35 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-12-27 08:22:58 +00:00
2015-02-08 23:03:41 +00:00
2014-01-21 21:13:13 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-12-29 21:52:32 +00:00
2014-11-25 11:07:26 +00:00
2014-12-25 21:56:56 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2015-01-06 22:29:12 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-12-29 21:59:44 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:07:26 +00:00
2014-11-25 11:08:58 +00:00
2014-11-29 00:45:09 +00:00
2014-11-25 11:07:26 +00:00
2015-01-19 02:22:03 +00:00
2014-12-27 21:11:42 +00:00