summaryrefslogtreecommitdiffstats
path: root/lib/libnv/msgio.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the limit on descriptors that can be send in one nvlist.pjd2014-09-141-17/+96
| | | | Submitted by: Mariusz Zaborski
* Assert input arguments to buf_send() and buf_recv().pjd2014-02-021-0/+7
| | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* Fix sending empty nvlist.pjd2014-02-021-2/+2
| | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* MFp4 @1189139:pjd2013-12-151-24/+0
| | | | | | | | | | | Get rid of the msg_peek() function, which has a problem. If there was less data in the socket buffer than requested by the caller, the function would busy loop, as select(2) will always return immediately. We can just receive nvlhdr now, because some time ago we splitted receive of data from the receive of descriptors. MFC after: 1 week
* Bring in libnv library for managing name/value pairs. The following typespjd2013-11-121-0/+407
are currently supported: - NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 64bit unsigned integer; - NV_TYPE_STRING - C string; - NV_TYPE_NVLIST - nested nvlist; - NV_TYPE_DESCRIPTOR - file descriptor; - NV_TYPE_BINARY - binary data. For detailed documentation and examples see nv(3) manual page. Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud