Lines Matching defs:submethod
99 #define MATCH_NONE 0 /* method or submethod mismatch */
100 #define MATCH_METHOD 1 /* method matches (no submethod specified) */
101 #define MATCH_BOTH 2 /* method and submethod match */
102 #define MATCH_PARTIAL 3 /* method matches, submethod can't be checked */
362 const char *submethod)
393 if (!auth2_update_methods_lists(authctxt, method, submethod)) {
400 auth_log(ssh, authenticated, partial, method, submethod);
404 auth2_update_session_info(authctxt, method, submethod);
473 const char *submethod)
485 submethod) != MATCH_NONE)
604 const char *submethod)
615 if (!submethod)
617 l = strlen(submethod);
619 if (strncmp(submethod, p, l))
635 remove_method(char **methods, const char *method, const char *submethod)
641 match = list_starts_with(omethods, method, submethod);
645 if (submethod && match == MATCH_BOTH)
646 p += 1 + strlen(submethod); /* include colon */
662 const char *submethod)
669 submethod))
772 const char *submethod)
781 /* Append method[/submethod] */
783 method, submethod == NULL ? "" : "/",
784 submethod == NULL ? "" : submethod)) != 0)