Lines Matching defs:fields
16 * fields enclosed by brackets "[]" replaced with your own identifying
38 nvlist_t *fields = NULL;
41 if ((err = nvlist_alloc(&fields, NV_UNIQUE_NAME, 0)) != 0)
44 if ((err = nvlist_add_string(fields, XPROP_TYPE, type)) != 0)
47 if ((err = nvlist_add_boolean_value(fields,
51 if ((err = nvlist_add_string(fields,
55 if ((err = nvlist_add_boolean_value(fields, XPROP_INHERITABLE,
59 if ((err = nvlist_add_string(fields, XPROP_VALUES,
64 if ((err = nvlist_add_string_array(fields, XPROP_VALUES_LIST,
69 if ((err = nvlist_add_string(fields, XPROP_COLNAME,
73 if ((err = nvlist_add_boolean_value(fields, XPROP_RIGHTALIGN,
76 if ((err = nvlist_add_boolean_value(fields, XPROP_VISIBLE,
80 err = nvlist_add_nvlist(xprops, name, fields);
82 nvlist_free(fields);