Lines Matching refs:nvl
91 void nvlist_destroy(nvlist_t *nvl);
92 int nvlist_error(const nvlist_t *nvl);
93 bool nvlist_empty(const nvlist_t *nvl);
94 int nvlist_flags(const nvlist_t *nvl);
95 void nvlist_set_error(nvlist_t *nvl, int error);
97 nvlist_t *nvlist_clone(const nvlist_t *nvl);
100 void nvlist_dump(const nvlist_t *nvl, int fd);
101 void nvlist_fdump(const nvlist_t *nvl, FILE *fp);
104 size_t nvlist_size(const nvlist_t *nvl);
105 void *nvlist_pack(const nvlist_t *nvl, size_t *sizep);
108 int nvlist_send(int sock, const nvlist_t *nvl);
110 nvlist_t *nvlist_xfer(int sock, nvlist_t *nvl, int flags);
112 const char *nvlist_next(const nvlist_t *nvl, int *typep, void **cookiep);
114 const nvlist_t *nvlist_get_parent(const nvlist_t *nvl, void **cookiep);
116 const nvlist_t *nvlist_get_array_next(const nvlist_t *nvl);
117 bool nvlist_in_array(const nvlist_t *nvl);
119 const nvlist_t *nvlist_get_pararr(const nvlist_t *nvl, void **cookiep);
126 bool nvlist_exists(const nvlist_t *nvl, const char *name);
127 bool nvlist_exists_type(const nvlist_t *nvl, const char *name, int type);
129 bool nvlist_exists_null(const nvlist_t *nvl, const char *name);
130 bool nvlist_exists_bool(const nvlist_t *nvl, const char *name);
131 bool nvlist_exists_number(const nvlist_t *nvl, const char *name);
132 bool nvlist_exists_string(const nvlist_t *nvl, const char *name);
133 bool nvlist_exists_nvlist(const nvlist_t *nvl, const char *name);
134 bool nvlist_exists_binary(const nvlist_t *nvl, const char *name);
135 bool nvlist_exists_bool_array(const nvlist_t *nvl, const char *name);
136 bool nvlist_exists_number_array(const nvlist_t *nvl, const char *name);
137 bool nvlist_exists_string_array(const nvlist_t *nvl, const char *name);
138 bool nvlist_exists_nvlist_array(const nvlist_t *nvl, const char *name);
140 bool nvlist_exists_descriptor(const nvlist_t *nvl, const char *name);
141 bool nvlist_exists_descriptor_array(const nvlist_t *nvl, const char *name);
150 void nvlist_add_null(nvlist_t *nvl, const char *name);
151 void nvlist_add_bool(nvlist_t *nvl, const char *name, bool value);
152 void nvlist_add_number(nvlist_t *nvl, const char *name, uint64_t value);
153 void nvlist_add_string(nvlist_t *nvl, const char *name, const char *value);
154 void nvlist_add_stringf(nvlist_t *nvl, const char *name, const char *valuefmt, ...) __printflike(3, 4);
155 void nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt, va_list valueap) __printflike(3, 0);
156 void nvlist_add_nvlist(nvlist_t *nvl, const char *name, const nvlist_t *value);
157 void nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, size_t size);
158 void nvlist_add_bool_array(nvlist_t *nvl, const char *name, const bool *value, size_t nitems);
159 void nvlist_add_number_array(nvlist_t *nvl, const char *name, const uint64_t *value, size_t nitems);
160 void nvlist_add_string_array(nvlist_t *nvl, const char *name, const char * const *value, size_t nitems);
161 void nvlist_add_nvlist_array(nvlist_t *nvl, const char *name, const nvlist_t * const *value, size_t nitems);
163 void nvlist_add_descriptor(nvlist_t *nvl, const char *name, int value);
164 void nvlist_add_descriptor_array(nvlist_t *nvl, const char *name, const int *value, size_t nitems);
167 void nvlist_append_bool_array(nvlist_t *nvl, const char *name, const bool value);
168 void nvlist_append_number_array(nvlist_t *nvl, const char *name, const uint64_t value);
169 void nvlist_append_string_array(nvlist_t *nvl, const char *name, const char * const value);
170 void nvlist_append_nvlist_array(nvlist_t *nvl, const char *name, const nvlist_t * const value);
172 void nvlist_append_descriptor_array(nvlist_t *nvl, const char *name, int value);
180 void nvlist_move_string(nvlist_t *nvl, const char *name, char *value);
181 void nvlist_move_nvlist(nvlist_t *nvl, const char *name, nvlist_t *value);
182 void nvlist_move_binary(nvlist_t *nvl, const char *name, void *value, size_t size);
183 void nvlist_move_bool_array(nvlist_t *nvl, const char *name, bool *value, size_t nitems);
184 void nvlist_move_string_array(nvlist_t *nvl, const char *name, char **value, size_t nitems);
185 void nvlist_move_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **value, size_t nitems);
186 void nvlist_move_number_array(nvlist_t *nvl, const char *name, uint64_t *value, size_t nitems);
188 void nvlist_move_descriptor(nvlist_t *nvl, const char *name, int value);
189 void nvlist_move_descriptor_array(nvlist_t *nvl, const char *name, int *value, size_t nitems);
198 bool nvlist_get_bool(const nvlist_t *nvl, const char *name);
199 uint64_t nvlist_get_number(const nvlist_t *nvl, const char *name);
200 const char *nvlist_get_string(const nvlist_t *nvl, const char *name);
201 const nvlist_t *nvlist_get_nvlist(const nvlist_t *nvl, const char *name);
202 const void *nvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep);
203 const bool *nvlist_get_bool_array(const nvlist_t *nvl, const char *name, size_t *nitemsp);
204 const uint64_t *nvlist_get_number_array(const nvlist_t *nvl, const char *name, size_t *nitemsp);
205 const char * const *nvlist_get_string_array(const nvlist_t *nvl, const char *name, size_t *nitemsp);
206 const nvlist_t * const *nvlist_get_nvlist_array(const nvlist_t *nvl, const char *name, size_t *nitemsp);
208 int nvlist_get_descriptor(const nvlist_t *nvl, const char *name);
209 const int *nvlist_get_descriptor_array(const nvlist_t *nvl, const char *name, size_t *nitemsp);
218 bool nvlist_take_bool(nvlist_t *nvl, const char *name);
219 uint64_t nvlist_take_number(nvlist_t *nvl, const char *name);
220 char *nvlist_take_string(nvlist_t *nvl, const char *name);
221 nvlist_t *nvlist_take_nvlist(nvlist_t *nvl, const char *name);
222 void *nvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep);
223 bool *nvlist_take_bool_array(nvlist_t *nvl, const char *name, size_t *nitemsp);
224 uint64_t *nvlist_take_number_array(nvlist_t *nvl, const char *name, size_t *nitemsp);
225 char **nvlist_take_string_array(nvlist_t *nvl, const char *name, size_t *nitemsp);
226 nvlist_t **nvlist_take_nvlist_array(nvlist_t *nvl, const char *name, size_t *nitemsp);
228 int nvlist_take_descriptor(nvlist_t *nvl, const char *name);
229 int *nvlist_take_descriptor_array(nvlist_t *nvl, const char *name, size_t *nitemsp);
237 void nvlist_free(nvlist_t *nvl, const char *name);
238 void nvlist_free_type(nvlist_t *nvl, const char *name, int type);
240 void nvlist_free_null(nvlist_t *nvl, const char *name);
241 void nvlist_free_bool(nvlist_t *nvl, const char *name);
242 void nvlist_free_number(nvlist_t *nvl, const char *name);
243 void nvlist_free_string(nvlist_t *nvl, const char *name);
244 void nvlist_free_nvlist(nvlist_t *nvl, const char *name);
245 void nvlist_free_binary(nvlist_t *nvl, const char *name);
246 void nvlist_free_bool_array(nvlist_t *nvl, const char *name);
247 void nvlist_free_number_array(nvlist_t *nvl, const char *name);
248 void nvlist_free_string_array(nvlist_t *nvl, const char *name);
249 void nvlist_free_nvlist_array(nvlist_t *nvl, const char *name);
250 void nvlist_free_binary_array(nvlist_t *nvl, const char *name);
252 void nvlist_free_descriptor(nvlist_t *nvl, const char *name);
253 void nvlist_free_descriptor_array(nvlist_t *nvl, const char *name);
269 int nvlist_copyout(nvlist_ref_t *nref, const nvlist_t *nvl);
271 int nvlist_xfer_ioctl(int fd, unsigned long cmd, const nvlist_t *nvl,
273 int nvlist_send_ioctl(int fd, unsigned long cmd, const nvlist_t *nvl);