Lines Matching refs:propname
248 nwam_enm_delete_prop(nwam_enm_handle_t enmh, const char *propname)
255 assert(enmh != NULL && propname != NULL);
257 if ((err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
264 if (strcmp(propname, NWAM_ENM_PROP_ENABLED) != 0)
280 if ((err = nwam_delete_prop(enmh->nwh_data, propname))
297 nwam_enm_set_prop_value(nwam_enm_handle_t enmh, const char *propname,
303 assert(enmh != NULL && propname != NULL && value != NULL);
305 if ((err = nwam_enm_validate_prop(enmh, propname, value))
307 (err = nwam_enm_prop_read_only(propname, &ro)) != NWAM_SUCCESS)
312 return (nwam_set_prop_value(enmh->nwh_data, propname, value));
316 nwam_enm_get_prop_value(nwam_enm_handle_t enmh, const char *propname,
319 return (nwam_get_prop_value(enmh->nwh_data, propname, valuep));
350 nwam_enm_get_prop_description(const char *propname, const char **descriptionp)
352 return (nwam_get_prop_description(enm_prop_table, propname,
357 nwam_enm_prop_read_only(const char *propname, boolean_t *readp)
359 return (nwam_prop_read_only(enm_prop_table, propname, readp));
497 nwam_enm_validate_prop(nwam_enm_handle_t enmh, const char *propname,
502 return (nwam_validate_prop(enm_prop_table, enmh, propname, value));
509 nwam_enm_get_prop_type(const char *propname, nwam_value_type_t *typep)
511 return (nwam_get_prop_type(enm_prop_table, propname, typep));
515 nwam_enm_prop_multivalued(const char *propname, boolean_t *multip)
517 return (nwam_prop_multivalued(enm_prop_table, propname, multip));