summaryrefslogtreecommitdiff
path: root/lib/curl_sspi.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-12 01:06:48 +0200
committerYang Tse <yangsita@gmail.com>2012-06-12 01:06:48 +0200
commit764a5e4a50286c27b0fa0c16bc44659880a184a5 (patch)
tree3b2fc6f97e263ef4bd2660f6160f53c8f476a8f3 /lib/curl_sspi.h
parentaf0888aaf6b444388d9b2770e310e9ef48354515 (diff)
downloadcurl-764a5e4a50286c27b0fa0c16bc44659880a184a5.tar.gz
sspi: make Curl_sspi_strerror() libcurl's sspi status code string function
Diffstat (limited to 'lib/curl_sspi.h')
-rw-r--r--lib/curl_sspi.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/curl_sspi.h b/lib/curl_sspi.h
index 38d31826f..f5100bd7c 100644
--- a/lib/curl_sspi.h
+++ b/lib/curl_sspi.h
@@ -60,12 +60,22 @@
#ifndef SEC_E_OUT_OF_SEQUENCE
# define SEC_E_OUT_OF_SEQUENCE ((HRESULT)0x80090310L)
#endif
+#ifndef SEC_E_DELEGATION_POLICY
+# define SEC_E_DELEGATION_POLICY ((HRESULT)0x8009035EL)
+#endif
+#ifndef SEC_E_INVALID_PARAMETER
+# define SEC_E_INVALID_PARAMETER ((HRESULT)0x8009035DL)
+#endif
+#ifndef SEC_E_POLICY_NLTM_ONLY
+# define SEC_E_POLICY_NLTM_ONLY ((HRESULT)0x8009035FL)
+#endif
+#ifndef SEC_I_SIGNATURE_NEEDED
+# define SEC_I_SIGNATURE_NEEDED ((HRESULT)0x0009035CL)
+#endif
CURLcode Curl_sspi_global_init(void);
void Curl_sspi_global_cleanup(void);
CURLcode Curl_sspi_version(int *major, int *minor, int *build, int *special);
-char* Curl_sspi_status(SECURITY_STATUS status);
-char* Curl_sspi_status_msg(SECURITY_STATUS status);
/* Forward-declaration of global variables defined in curl_sspi.c */