| 1885 | } |
| 1886 | |
| 1887 | const char * const * |
| 1888 | nvpair_get_string_array(const nvpair_t *nvp, size_t *nitems) |
| 1889 | { |
| 1890 | |
| 1891 | NVPAIR_ASSERT(nvp); |
| 1892 | PJDLOG_ASSERT(nvp->nvp_type == NV_TYPE_STRING_ARRAY); |
| 1893 | |
| 1894 | if (nitems != NULL) |
| 1895 | *nitems = nvp->nvp_nitems; |
| 1896 | |
| 1897 | return ((const char * const *)(intptr_t)nvp->nvp_data); |
| 1898 | } |
| 1899 | |
| 1900 | const nvlist_t * const * |
| 1901 | nvpair_get_nvlist_array(const nvpair_t *nvp, size_t *nitems) |
no outgoing calls
no test coverage detected