summaryrefslogtreecommitdiff
path: root/lib/curl_sspi.h
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-04-11 17:25:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-11 19:00:34 +0200
commitf858bb0d1f989694d562e7fe7818ee7189c18e28 (patch)
treeca506cb02edb17364062c819edfa58c4f2acd9f0 /lib/curl_sspi.h
parent15ca80c8312f91b992f3b206363a335fe4d55f3d (diff)
downloadcurl-f858bb0d1f989694d562e7fe7818ee7189c18e28.tar.gz
sspi: Refactored socks_sspi and schannel to use same error message functions
Moved the error constant switch to curl_sspi.c and added two new helper functions to curl_sspi.[ch] which either return the constant or a fully translated message representing the SSPI security status. Updated socks_sspi.c and curl_schannel.c to use the new functions.
Diffstat (limited to 'lib/curl_sspi.h')
-rw-r--r--lib/curl_sspi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/curl_sspi.h b/lib/curl_sspi.h
index c0e4f368f..817487830 100644
--- a/lib/curl_sspi.h
+++ b/lib/curl_sspi.h
@@ -63,6 +63,8 @@
CURLcode Curl_sspi_global_init(void);
void Curl_sspi_global_cleanup(void);
+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 */