aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-04-13 13:04:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-11 19:00:34 +0200
commit8d78848a3986919754223bc0dcbeb216e33bffb2 (patch)
tree1a03c7740a66736b255564e80e5e1921357b638f /lib/urldata.h
parent90412c86133aa32250749882891750b4555e97f6 (diff)
schannel: Moved interal struct types to urldata.h
Moved type definitions in order to avoid inclusion loop
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 2b972d5ee..7327482df 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -133,7 +133,8 @@
#ifdef USE_SCHANNEL
#include "curl_sspi.h"
-#include "curl_schannel.h"
+#include <schnlsp.h>
+#include <schannel.h>
#endif
#ifdef HAVE_NETINET_IN_H
@@ -219,6 +220,19 @@ enum protection_level {
};
#endif
+#ifdef USE_SCHANNEL
+/* Structs to store Schannel handles */
+typedef struct curl_schannel_cred {
+ CredHandle cred_handle;
+ TimeStamp time_stamp;
+} curl_schannel_cred;
+
+typedef struct curl_schannel_ctxt {
+ CtxtHandle ctxt_handle;
+ TimeStamp time_stamp;
+} curl_schannel_ctxt;
+#endif
+
/* enum for the nonblocking SSL connection state machine */
typedef enum {
ssl_connect_1,