Lines Matching defs:optionset

64  *	If the group has an optionset with the specified protocol,
70 sa_optionset_t optionset;
73 optionset = sa_get_optionset(group, protocol);
74 if (optionset != NULL) {
705 * general or specific to a names optionset.
816 * Add the options in optlist to an optionset and then add the optionset
825 sa_optionset_t optionset;
830 optionset = sa_get_optionset(group, proto);
831 if (optionset == NULL) {
832 optionset = sa_create_optionset(group, proto);
833 if (optionset == NULL)
837 if (optionset == NULL) {
848 prop = sa_get_property(optionset, optlist->optname);
859 optionset, proto, prop);
870 ret = sa_add_property(optionset, prop);
896 ret = sa_commit_properties(optionset, 0);
1152 sa_optionset_t optionset;
1163 optionset = sa_create_optionset(group, protolist[i]);
1164 if (optionset == NULL) {
1338 sa_optionset_t optionset;
1351 * optionset(s) to the group.
1357 optionset = sa_create_optionset(group,
1359 if (optionset == NULL)
1571 sa_optionset_t optionset;
1581 optionset = sa_get_optionset(group, protocol);
1582 if (optionset != NULL && !dryrun) {
1584 * have an optionset with
1587 ret = sa_destroy_optionset(optionset);
1680 sa_optionset_t optionset;
1692 for (optionset = sa_get_optionset(group, NULL);
1693 optionset != NULL && buff != NULL;
1694 optionset = sa_get_next_optionset(optionset)) {
1696 * extract out the protocol type from this optionset
1700 proto = sa_get_optionset_attr(optionset, "type");
1820 * out_properties(optionset, proto, sec)
1823 * optionset into the string.
1829 out_properties(sa_optionset_t optionset, char *proto, char *sec)
1841 for (spacer = 0, prop = sa_get_property(optionset, NULL);
1885 sa_optionset_t optionset;
1891 optionset = sa_get_optionset(group, protocol);
1892 if (optionset != NULL) {
1895 out_properties(optionset, protocol, NULL);
1904 for (optionset = sa_get_optionset(group, protocol);
1905 optionset != NULL;
1906 optionset = sa_get_next_optionset(optionset)) {
1908 value = sa_get_optionset_attr(optionset, "type");
1911 out_properties(optionset, value, 0);
2410 sa_optionset_t optionset;
2436 * Step through each optionset at the group level and
2442 for (optionset = sa_get_optionset(group, NULL);
2443 optionset != NULL && ret == SA_OK;
2444 optionset = sa_get_next_optionset(optionset)) {
2445 value = sa_get_optionset_attr(optionset, "type");
2500 sa_optionset_t optionset;
2502 for (optionset = sa_get_optionset(group, NULL);
2503 optionset != NULL;
2504 optionset = sa_get_next_optionset(optionset)) {
2507 proto = sa_get_optionset_attr(optionset, "type");
3528 * Helper function to add a security option (named optionset) to the
4051 sa_optionset_t optionset;
4056 optionset = sa_get_optionset(group, proto);
4057 if (optionset != NULL) {
4059 prop = sa_get_property(optionset, cur->optname);
4069 ret = sa_commit_properties(optionset, 0);
4087 sa_optionset_t optionset;
4091 optionset = sa_get_optionset(group, proto);
4092 if (optionset != NULL) {
4094 prop = sa_get_property(optionset, cur->optname);
4194 * Unset non-named optionset properties.
4264 sa_optionset_t optionset;
4269 * If a share optionset is
4272 optionset = sa_get_optionset((sa_share_t)share,
4274 if (optionset != NULL) {
4275 prop = sa_get_property(optionset, NULL);
4278 optionset);
4318 * Unset named optionset properties.
4350 sa_security_t optionset;
4356 optionset = sa_get_security((sa_group_t)share,
4358 if (optionset != NULL) {
4359 prop = sa_get_property(optionset,
4363 optionset);
5178 sa_optionset_t optionset;
5182 optionset = sa_get_optionset(share, proto);
5183 if (optionset != NULL)
5184 (void) sa_destroy_optionset(optionset);