Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libnv/nvlist_impl.h
Show All 26 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _NVLIST_IMPL_H_ | #ifndef _NVLIST_IMPL_H_ | ||||
#define _NVLIST_IMPL_H_ | #define _NVLIST_IMPL_H_ | ||||
#ifndef _KERNEL | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#endif | |||||
#include "nv.h" | #include "nv.h" | ||||
void *nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep); | void *nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep); | ||||
nvlist_t *nvlist_xunpack(const void *buf, size_t size, const int *fds, | nvlist_t *nvlist_xunpack(const void *buf, size_t size, const int *fds, | ||||
size_t nfds); | size_t nfds); | ||||
nvpair_t *nvlist_get_nvpair_parent(const nvlist_t *nvl); | nvpair_t *nvlist_get_nvpair_parent(const nvlist_t *nvl); | ||||
const unsigned char *nvlist_unpack_header(nvlist_t *nvl, | const unsigned char *nvlist_unpack_header(nvlist_t *nvl, | ||||
const unsigned char *ptr, size_t nfds, bool *isbep, size_t *leftp); | const unsigned char *ptr, size_t nfds, bool *isbep, size_t *leftp); | ||||
#endif /* !_NVLIST_IMPL_H_ */ | #endif /* !_NVLIST_IMPL_H_ */ |