Lines Matching defs:config

155 	struct __nsw_switchconfig_v1 *config;
156 int max_src; /* is == config->num_lookups */
211 /* === the config info hasn't changed (by comparing version numbers) */
305 * A config parameters are in the form component:parameter
474 /* compare config name (component:parameter) to a component name */
1052 struct __nsw_switchconfig_v1 *config;
1055 config = __nsw_getconfig_v1(NSS_DBNAM_PASSWD_COMPAT, &err);
1058 if (config == 0)
1061 if (config->num_lookups >= 1) {
1066 for (look = config->lookups; look != NULL; look = look->next)
1072 for (look = config->lookups; look != NULL; look = look->next) {
1076 config = _nsw_getoneconfig_v1(config_name, buf, &err);
1077 return (config);
1079 (void) __nsw_freeconfig_v1(config);
1087 struct __nsw_switchconfig_v1 *config = 0;
1115 config = __nsw_getconfig_v1(config_name, &err);
1118 if (config != 0 && strcmp(s->p.name, NSS_DBNAM_USERATTR) == 0 &&
1119 config->num_lookups == 1 &&
1120 strcmp(config->lookups[0].service_name, "compat") == 0) {
1121 (void) __nsw_freeconfig_v1(config);
1122 config = get_userattr_backend(config_name);
1125 if (config == 0) {
1126 /* getconfig failed, or frontend demanded default config */
1131 config = _nsw_getoneconfig_v1(config_name, str, &err);
1134 if (config == 0) {
1139 s->config = config;
1140 if ((s->max_src = config->num_lookups) <= 0 ||
1145 for (n_src = 0, lkp = config->lookups;
1203 if (s->config != 0) {
1204 (void) __nsw_freeconfig_v1(s->config);
1438 s->config->dbase,
1458 s->config->dbase);
1464 s->config->dbase);
1828 /* if default config not specified, the flag should be reset */