aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-01 22:01:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-01 22:01:18 +0000
commit54967d2a3ab5559631407f7b7f67ef48c2dda6dd (patch)
treea48676ba7a58d61e49e27da20a6c99066f9fe424 /include
parent667fd9a60bd8bae34660b4bf8124060f1577ada3 (diff)
Thomas J. Moore provided a patch that introduces Kerberos5 support in
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index ca229cb96..fe413d0a7 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -736,10 +736,12 @@ typedef enum {
/* Set the interface string to use as outgoing network interface */
CINIT(INTERFACE, OBJECTPOINT, 62),
- /* Set the krb4 security level, this also enables krb4 awareness. This is a
- * string, 'clear', 'safe', 'confidential' or 'private'. If the string is
- * set but doesn't match one of these, 'private' will be used. */
- CINIT(KRB4LEVEL, OBJECTPOINT, 63),
+ /* Set the krb4/5 security level, this also enables krb4/5 awareness. This
+ * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string
+ * is set but doesn't match one of these, 'private' will be used. */
+ CINIT(KRBLEVEL, OBJECTPOINT, 63),
+ /* This is for compatibility with older curl releases */
+#define CURLOPT_KRB4LEVEL CURLOPT_KRBLEVEL
/* Set if we should verify the peer in ssl handshake, set 1 to verify. */
CINIT(SSL_VERIFYPEER, LONG, 64),