Lines Matching defs:section

149 	{ "section", NULL, PROTO_OPT_SECTION,
193 range_check_validator(int index, char *section, char *value)
218 string_length_check_validator(int index, char *section, char *value)
236 yes_no_validator(int index, char *section, char *value)
255 ip_address_validator(int index, char *section, char *value)
271 minauth_validator(int index, char *section, char *value)
289 signing_validator(int index, char *section, char *value)
305 password_validator(int index, char *section, char *value)
338 * Load the persistent settings from SMF. Each section is an SMF
339 * property group with an "S-" prefix and a UUID, and the section
341 * a property group name can have. The section name need not be
344 * to know that we're seeing a different section.
390 /* If we get a section name, apply it and consume it */
391 if (strncmp("section", name, 7) == 0 && value != NULL) {
398 * We have an ordinary property. Add to the section.
415 * Save the set of properties for a particular section, which is
426 char *section = smbclnt_proto_options[PROTO_OPT_SECTION].value;
433 propset = sa_get_protocol_section(protoset, section);
485 * Suppress new, null entries by not saving the section name.
595 smbfs_validate_proto_prop(int index, char *section, char *name, char *value)
597 if ((section == NULL) || (name == NULL) || (index < 0))
603 return (smbclnt_proto_options[index].validator(index, section, value));
611 smbfs_save_property(int index, char *section, char *value)
619 s = strdup(section);
643 char *section;
646 section = sa_get_property_attr(prop, "section");
647 if (section == NULL)
654 ret = smbfs_validate_proto_prop(i, section,
657 if (smbfs_save_property(i, section,
670 if (section != NULL)
671 sa_free_attr_string(section);
690 * Delete a section by its name, which we will have read into an
696 smbfs_delete_section(char *section)
703 propset = sa_get_protocol_section(protoset, section);
720 * or called when smbclnt_config_load() notices an empty section