Lines Matching refs:authmethods
78 Authmethod *authmethods[] = {
377 for (i = 0; authmethods[i] != NULL; i++) {
378 if (strcmp(authmethods[i]->name, "none") == 0)
380 if (authmethods[i]->enabled != NULL &&
381 *(authmethods[i]->enabled) != 0) {
384 buffer_append(&b, authmethods[i]->name,
385 strlen(authmethods[i]->name));
400 for (i = 0; authmethods[i] != NULL; i++)
401 if (authmethods[i]->enabled != NULL &&
402 *(authmethods[i]->enabled) != 0 &&
403 strcmp(name, authmethods[i]->name) == 0)
404 return authmethods[i];