Lines Matching defs:index
193 range_check_validator(int index, char *section, char *value)
206 if (val < smbclnt_proto_options[index].minval ||
207 val > smbclnt_proto_options[index].maxval)
218 string_length_check_validator(int index, char *section, char *value)
226 if (strlen(value) > smbclnt_proto_options[index].maxval)
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)
588 * smbfs_validate_proto_prop(index, name, value)
595 smbfs_validate_proto_prop(int index, char *section, char *name, char *value)
597 if ((section == NULL) || (name == NULL) || (index < 0))
600 if (smbclnt_proto_options[index].validator == NULL)
603 return (smbclnt_proto_options[index].validator(index, section, value));
611 smbfs_save_property(int index, char *section, char *value)
615 if (index == PROTO_OPT_WORKGROUP) {
616 index = PROTO_OPT_DOMAIN;
626 smbclnt_proto_options[index].value = s;
627 smbclnt_proto_options[index].flags |= SMBC_MODIFIED;