MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nvlist_get_binary

Function nvlist_get_binary

freebsd/contrib/libnv/nvlist.c:1912–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1910#undef NVLIST_GET
1911
1912const void *
1913nvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep)
1914{
1915 nvpair_t *nvp;
1916
1917 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name);
1918 if (nvp == NULL)
1919 nvlist_report_missing(NV_TYPE_BINARY, name);
1920
1921 return (nvpair_get_binary(nvp, sizep));
1922}
1923
1924#define NVLIST_GET_ARRAY(ftype, type, TYPE) \
1925ftype \

Callers 1

dnvlist_get_binaryFunction · 0.85

Calls 3

nvlist_findFunction · 0.85
nvlist_report_missingFunction · 0.85
nvpair_get_binaryFunction · 0.85

Tested by

no test coverage detected