Lines Matching refs:prop

823 #define	GETPROP(prop)	scf_simple_prop_next_astring(prop)
836 scf_simple_prop_t *prop;
901 prop = scf_simple_prop_get
906 if (prop != NULL) {
908 i64 = GETPROP(prop);
914 scf_simple_prop_free(prop);
1013 prop = scf_simple_prop_get(
1017 if (prop != NULL) {
1020 scf_simple_prop_next_astring(prop);
1026 scf_simple_prop_free(prop);
2250 * sa_get_property_attr(prop, tag)
2257 sa_get_property_attr(sa_property_t prop, char *tag)
2259 return (get_node_attr((void *)prop, tag));
2263 * sa_get_optionset_attr(prop, tag)
2433 * sa_get_property(optionset, prop)
2435 * Get the property object with the name specified in prop from the
2440 sa_get_property(sa_optionset_t optionset, char *prop)
2451 if (prop == NULL)
2455 xmlStrcmp(value, (xmlChar *)prop) == 0) {
2834 /* now delete the prop group */
3059 * sa_set_prop_by_prop(optionset, group, prop, type)
3061 * Add/remove/update the specified property prop into the optionset or
3069 sa_property_t prop, int type)
3095 name = sa_get_property_attr(prop, "type");
3096 valstr = sa_get_property_attr(prop, "value");
3427 * sa_get_protocol_section(propset, prop)
3478 * sa_get_next_protocol_section(prop, find)
3484 sa_get_next_protocol_section(sa_property_t prop, char *find)
3490 proto = sa_get_optionset_attr(prop, "type");
3497 for (node = ((xmlNodePtr)prop)->next; node != NULL;
3522 * sa_get_protocol_property(propset, prop)
3529 sa_get_protocol_property(sa_protocol_properties_t propset, char *prop)
3540 if (prop == NULL)
3544 xmlStrcasecmp(value, (xmlChar *)prop) == 0) {
3566 * sa_get_next_protocol_property(prop)
3572 sa_get_next_protocol_property(sa_property_t prop, char *find)
3577 for (node = ((xmlNodePtr)prop)->next; node != NULL;
3600 * sa_set_protocol_property(prop, value)
3607 sa_set_protocol_property(sa_property_t prop, char *section, char *value)
3613 propset = ((xmlNodePtr)prop)->parent;
3618 set_node_attr((xmlNodePtr)prop, "section",
3620 set_node_attr((xmlNodePtr)prop, "value", value);
3621 ret = sa_proto_set_property(proto, prop);
3629 * sa_add_protocol_property(propset, prop)
3635 sa_add_protocol_property(sa_protocol_properties_t propset, sa_property_t prop)
3640 node = xmlAddChild((xmlNodePtr)propset, (xmlNodePtr)prop);
4114 sa_property_t prop;
4129 prop = sa_create_property(type, "true");
4131 if (prop != NULL)
4132 prop = (sa_property_t)xmlAddChild((xmlNodePtr)optionset,
4133 (xmlNodePtr)prop);
4134 /* If prop is NULL, don't bother continuing */
4135 if (prop == NULL) {
4232 sa_property_t prop;
4240 for (prop = sa_get_property(protoset, NULL);
4241 prop != NULL;
4242 prop = sa_get_next_property(prop)) {
4243 proto = sa_get_property_attr(prop, "type");
4292 sa_property_t prop;
4300 for (prop = sa_get_property(protoset, NULL);
4301 prop != NULL;
4302 prop = sa_get_next_property(prop)) {
4303 proto = sa_get_property_attr(prop, "type");