summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-28 13:27:40 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-28 13:27:40 +0200
commit98e5696da41310f317bd039da536c9d4e224b10e (patch)
treec98e231b909e412012b5e066745686c409dc3ff8 /lib
parent96073e191ea74b68fe57599099516ecb70bdd331 (diff)
downloadgnutls-98e5696da41310f317bd039da536c9d4e224b10e.tar.gz
Protect against double inclusion.
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_auth_int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/gnutls_auth_int.h b/lib/gnutls_auth_int.h
index 85fe53a1b6..3abd139152 100644
--- a/lib/gnutls_auth_int.h
+++ b/lib/gnutls_auth_int.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation
*
* Author: Nikos Mavrogiannopoulos
*
@@ -22,6 +22,9 @@
*
*/
+#ifndef GNUTLS_AUTH_INT_H
+# define GNUTLS_AUTH_INT_H
+
const void *_gnutls_get_cred (gnutls_key_st key,
gnutls_credentials_type_t kx, int *err);
const void *_gnutls_get_kx_cred (gnutls_session_t session,
@@ -30,3 +33,5 @@ void *_gnutls_get_auth_info (gnutls_session_t session);
int _gnutls_auth_info_set (gnutls_session_t session,
gnutls_credentials_type_t type, int size,
int allow_change);
+
+#endif /* GNUTLS_AUTH_INT_H */