aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_gssapi.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-02 22:21:58 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-02 22:27:02 +0000
commit2b604eada534bc4aca4d4d24fc8847b61d399461 (patch)
tree21c51dc151a4ade91b52834e4f40e53908206757 /lib/curl_gssapi.h
parent018b9d421a59cd9d45c33613440ff3e8f578bf0a (diff)
sasl_gssapi: Made log_gss_error() a common GSS-API function
Made log_gss_error() a common function so that it can be used in both the http_negotiate code as well as the curl_sasl_gssapi code.
Diffstat (limited to 'lib/curl_gssapi.h')
-rw-r--r--lib/curl_gssapi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h
index b91bd7ea7..bd7e35c32 100644
--- a/lib/curl_gssapi.h
+++ b/lib/curl_gssapi.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -55,6 +55,10 @@ OM_uint32 Curl_gss_init_sec_context(
gss_buffer_t output_token,
OM_uint32 *ret_flags);
+/* Helper to log a GSS - API error status */
+void Curl_gss_log_error(struct SessionHandle *data, OM_uint32 status,
+ const char *prefix);
+
#endif /* HAVE_GSSAPI */
#endif /* HEADER_CURL_GSSAPI_H */