summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_gssapi_posix.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 21:46:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 21:46:30 +0000
commitb4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be (patch)
tree6937211f0393180017ea11ff32083e7611e2da48 /net/http/http_auth_gssapi_posix.h
parentd7aed5ba1211dbbe558135f2c72a2e1b68cd0ef5 (diff)
downloadchromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.zip
chromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.tar.gz
chromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.tar.bz2
Linux: allow linking directly with Kerberos instead of using dlopen.
dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Review URL: http://codereview.chromium.org/7655046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_gssapi_posix.h')
-rw-r--r--net/http/http_auth_gssapi_posix.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/net/http/http_auth_gssapi_posix.h b/net/http/http_auth_gssapi_posix.h
index b1b1227..8e8a114 100644
--- a/net/http/http_auth_gssapi_posix.h
+++ b/net/http/http_auth_gssapi_posix.h
@@ -6,6 +6,8 @@
#define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_
#pragma once
+#include <gssapi.h>
+
#include <string>
#include "base/gtest_prod_util.h"
@@ -14,9 +16,6 @@
#include "net/base/net_export.h"
#include "net/http/http_auth.h"
-#define GSS_USE_FUNCTION_POINTERS
-#include "net/third_party/gssapi/gssapi.h"
-
namespace net {
NET_EXPORT_PRIVATE extern gss_OID CHROME_GSS_C_NT_HOSTBASED_SERVICE_X;
@@ -168,6 +167,16 @@ class NET_EXPORT_PRIVATE GSSAPISharedLibrary : public GSSAPILibrary {
int* open);
private:
+ typedef typeof(&gss_import_name) gss_import_name_type;
+ typedef typeof(&gss_release_name) gss_release_name_type;
+ typedef typeof(&gss_release_buffer) gss_release_buffer_type;
+ typedef typeof(&gss_display_name) gss_display_name_type;
+ typedef typeof(&gss_display_status) gss_display_status_type;
+ typedef typeof(&gss_init_sec_context) gss_init_sec_context_type;
+ typedef typeof(&gss_wrap_size_limit) gss_wrap_size_limit_type;
+ typedef typeof(&gss_delete_sec_context) gss_delete_sec_context_type;
+ typedef typeof(&gss_inquire_context) gss_inquire_context_type;
+
FRIEND_TEST_ALL_PREFIXES(HttpAuthGSSAPIPOSIXTest, GSSAPIStartup);
bool InitImpl();