Lines Matching refs:propname
54 char *propname; member
343 p->propname, p->proptype) == -1) in aconf_save()
356 free(p->propname); in aconf_save()
448 aconf_get_string(const char *pgname, const char *propname, char *buf, in aconf_get_string() argument
466 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_string()
478 aconf_get_bool(const char *pgname, const char *propname, uint8_t *rval) in aconf_get_bool() argument
495 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_bool()
507 aconf_set_string(const char *propname, const char *value) in aconf_set_string() argument
511 if ((p = aconf_prop(propname, SCF_TYPE_ASTRING)) == NULL) in aconf_set_string()
520 aconf_set_bool(const char *propname, boolean_t value) in aconf_set_bool() argument
524 if ((p = aconf_prop(propname, SCF_TYPE_BOOLEAN)) == NULL) in aconf_set_bool()
532 aconf_prop(const char *propname, int proptype) in aconf_prop() argument
537 if ((p->propname = strdup(propname)) == NULL) { in aconf_prop()
542 free(p->propname); in aconf_prop()
548 free(p->propname); in aconf_prop()