| 1814 | } |
| 1815 | |
| 1816 | const char * |
| 1817 | nvpair_get_string(const nvpair_t *nvp) |
| 1818 | { |
| 1819 | |
| 1820 | NVPAIR_ASSERT(nvp); |
| 1821 | PJDLOG_ASSERT(nvp->nvp_type == NV_TYPE_STRING); |
| 1822 | |
| 1823 | return ((const char *)(intptr_t)nvp->nvp_data); |
| 1824 | } |
| 1825 | |
| 1826 | const nvlist_t * |
| 1827 | nvpair_get_nvlist(const nvpair_t *nvp) |
no outgoing calls
no test coverage detected