summaryrefslogtreecommitdiff
path: root/lib/crypto.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-28 15:22:45 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-28 15:22:45 +0200
commit789d032744142a525157cc6f67710669369bd4f4 (patch)
tree2354b102c4facc497f30f3baa00879ef179db3e8 /lib/crypto.h
parent762d7ce1c517f64570368f317da87ca0589c1a3b (diff)
downloadgnutls-789d032744142a525157cc6f67710669369bd4f4.tar.gz
Protect against double inclusions.
Diffstat (limited to 'lib/crypto.h')
-rw-r--r--lib/crypto.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/crypto.h b/lib/crypto.h
index 3fb1b86719..f93ac1e550 100644
--- a/lib/crypto.h
+++ b/lib/crypto.h
@@ -1,4 +1,33 @@
+/*
+ * Copyright (C) 2008 Free Software Foundation
+ *
+ * Author: Nikos Mavrogiannopoulos
+ *
+ * This file is part of GNUTLS.
+ *
+ * The GNUTLS library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * USA
+ *
+ */
+
+#ifndef CRYPTO_H
+# define CRYPTO_H
+
gnutls_crypto_single_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo);
gnutls_crypto_single_digest_st *_gnutls_get_crypto_digest( gnutls_digest_algorithm_t algo);
gnutls_crypto_single_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo);
void _gnutls_crypto_deregister(void);
+
+#endif /* CRYPTO_H */