Lines Matching refs:optionset
724 sa_optionset_name(sa_optionset_t optionset, char *oname, size_t len, char *id) in sa_optionset_name() argument
733 parent = sa_get_optionset_parent(optionset); in sa_optionset_name()
736 proto = sa_get_optionset_attr(optionset, "type"); in sa_optionset_name()
1405 sa_optionset_t optionset; in mark_excluded_protos() local
1410 for (optionset = sa_get_optionset(group, NULL); in mark_excluded_protos()
1411 optionset != NULL; in mark_excluded_protos()
1412 optionset = sa_get_next_optionset(optionset)) { in mark_excluded_protos()
1415 value = sa_get_optionset_attr(optionset, "type"); in mark_excluded_protos()
1442 sa_optionset_t optionset; in get_all_features() local
1445 for (optionset = sa_get_optionset(group, NULL); in get_all_features()
1446 optionset != NULL; in get_all_features()
1447 optionset = sa_get_next_optionset(optionset)) { in get_all_features()
1449 value = sa_get_optionset_attr(optionset, "type"); in get_all_features()
1633 sa_optionset_t optionset; in sa_enable_share() local
1637 for (optionset = sa_get_optionset(group, NULL); in sa_enable_share()
1638 optionset != NULL; in sa_enable_share()
1639 optionset = sa_get_next_optionset(optionset)) { in sa_enable_share()
1641 proto = sa_get_optionset_attr(optionset, in sa_enable_share()
1682 sa_optionset_t optionset; in sa_disable_share() local
1687 for (optionset = sa_get_optionset(group, NULL); in sa_disable_share()
1688 optionset != NULL; in sa_disable_share()
1689 optionset = sa_get_next_optionset(optionset)) { in sa_disable_share()
1692 proto = sa_get_optionset_attr(optionset, "type"); in sa_disable_share()
2270 sa_get_optionset_attr(sa_property_t optionset, char *tag) in sa_get_optionset_attr() argument
2272 return (get_node_attr((void *)optionset, tag)); in sa_get_optionset_attr()
2284 sa_set_optionset_attr(sa_group_t optionset, char *tag, char *value) in sa_set_optionset_attr() argument
2286 set_node_attr((void *)optionset, tag, value); in sa_set_optionset_attr()
2345 sa_get_next_optionset(sa_optionset_t optionset) in sa_get_next_optionset() argument
2349 for (node = ((xmlNodePtr)optionset)->next; node != NULL; in sa_get_next_optionset()
2440 sa_get_property(sa_optionset_t optionset, char *prop) in sa_get_property() argument
2442 xmlNodePtr node = (xmlNodePtr)optionset; in sa_get_property()
2445 if (optionset == NULL) in sa_get_property()
2609 sa_optionset_t optionset; in sa_create_optionset() local
2615 optionset = sa_get_optionset(group, proto); in sa_create_optionset()
2616 if (optionset != NULL) { in sa_create_optionset()
2618 optionset = NULL; in sa_create_optionset()
2649 optionset = (sa_optionset_t)xmlNewChild((xmlNodePtr)group, in sa_create_optionset()
2655 if (optionset != NULL) { in sa_create_optionset()
2671 sa_set_optionset_attr(optionset, "type", proto); in sa_create_optionset()
2673 (void) sa_optionset_name(optionset, oname, in sa_create_optionset()
2696 return (optionset); in sa_create_optionset()
2724 sa_get_optionset_parent(sa_optionset_t optionset) in sa_get_optionset_parent() argument
2728 if (optionset != NULL) in sa_get_optionset_parent()
2729 node = ((xmlNodePtr)optionset)->parent; in sa_get_optionset_parent()
2778 sa_commit_properties(sa_optionset_t optionset, int clear) in sa_commit_properties() argument
2787 group = sa_get_optionset_parent(optionset); in sa_commit_properties()
2825 sa_destroy_optionset(sa_optionset_t optionset) in sa_destroy_optionset() argument
2835 group = sa_get_optionset_parent(optionset); in sa_destroy_optionset()
2849 len = sa_optionset_name(optionset, name, sizeof (name), id); in sa_destroy_optionset()
2860 xmlUnlinkNode((xmlNodePtr)optionset); in sa_destroy_optionset()
2861 xmlFreeNode((xmlNodePtr)optionset); in sa_destroy_optionset()
2869 _sa_remove_optionset(sa_optionset_t optionset) in _sa_remove_optionset() argument
2873 xmlUnlinkNode((xmlNodePtr)optionset); in _sa_remove_optionset()
2874 xmlFreeNode((xmlNodePtr)optionset); in _sa_remove_optionset()
2995 sa_get_security_attr(sa_property_t optionset, char *tag) in sa_get_security_attr() argument
2997 return (get_node_attr((void *)optionset, tag)); in sa_get_security_attr()
3008 sa_set_security_attr(sa_group_t optionset, char *tag, char *value) in sa_set_security_attr() argument
3010 set_node_attr((void *)optionset, tag, value); in sa_set_security_attr()
3068 sa_set_prop_by_prop(sa_optionset_t optionset, sa_group_t group, in sa_set_prop_by_prop() argument
3098 opttype = is_nodetype((void *)optionset, "optionset"); in sa_set_prop_by_prop()
3138 (void) sa_optionset_name(optionset, in sa_set_prop_by_prop()
3141 (void) sa_security_name(optionset, in sa_set_prop_by_prop()
3377 sa_optionset_t optionset; in sa_remove_property() local
3379 optionset = sa_get_property_parent(property); in sa_remove_property()
3380 if (optionset != NULL) { in sa_remove_property()
3381 group = sa_get_optionset_parent(optionset); in sa_remove_property()
3383 ret = sa_set_prop_by_prop(optionset, group, in sa_remove_property()
3409 sa_optionset_t optionset; in sa_update_property() local
3412 optionset = sa_get_property_parent(property); in sa_update_property()
3413 if (optionset != NULL) { in sa_update_property()
3414 group = sa_get_optionset_parent(optionset); in sa_update_property()
3416 ret = sa_set_prop_by_prop(optionset, group, in sa_update_property()
3891 sa_optionset_t optionset; in proto_rename_resource() local
3895 for (optionset = sa_get_optionset(group, NULL); in proto_rename_resource()
3896 optionset != NULL; in proto_rename_resource()
3897 optionset = sa_get_next_optionset(optionset)) { in proto_rename_resource()
3899 type = sa_get_optionset_attr(optionset, "type"); in proto_rename_resource()
4112 get_protocol_list(sa_optionset_t optionset, void *object) in get_protocol_list() argument
4132 prop = (sa_property_t)xmlAddChild((xmlNodePtr)optionset, in get_protocol_list()
4149 sa_free_protoset(sa_optionset_t optionset) in sa_free_protoset() argument
4151 if (optionset != NULL) { in sa_free_protoset()
4152 xmlUnlinkNode((xmlNodePtr) optionset); in sa_free_protoset()
4153 xmlFreeNode((xmlNodePtr) optionset); in sa_free_protoset()