summaryrefslogtreecommitdiffstats
path: root/lib/libnv/msgio.h
Commit message (Collapse)AuthorAgeFilesLines
* MFp4 @1189139:pjd2013-12-151-2/+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/+52
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