aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 369751cee..a83a326a4 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -68,6 +68,14 @@ enum {
CURLDIGESTALGO_MD5SESS
};
+/* Per-connection parameters */
+struct SASL {
+ unsigned int authmechs; /* Accepted authentication mechanisms */
+ unsigned int prefmech; /* Preferred authentication mechanism */
+ unsigned int authused; /* Auth mechanism used for the connection */
+ bool mutual_auth; /* Mutual authentication enabled (GSSAPI only) */
+};
+
/* This is used to test whether the line starts with the given mechanism */
#define sasl_mech_equal(line, wordlen, mech) \
(wordlen == (sizeof(mech) - 1) / sizeof(char) && \