summaryrefslogtreecommitdiff
path: root/lib/gnutls_int_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int_compat.c')
-rw-r--r--lib/gnutls_int_compat.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/gnutls_int_compat.c b/lib/gnutls_int_compat.c
index cf97cb7113..1f23a5bf9b 100644
--- a/lib/gnutls_int_compat.c
+++ b/lib/gnutls_int_compat.c
@@ -3,7 +3,7 @@
/* This file contains functions needed only for binary compatibility
* with previous versions.
*/
-/* #define GNUTLS_BACKWARDS_COMPATIBLE */
+#define GNUTLS_BACKWARDS_COMPATIBLE
#ifdef GNUTLS_BACKWARDS_COMPATIBLE
@@ -22,6 +22,24 @@ int gnutls_db_clean( GNUTLS_STATE state) {
return GNUTLS_E_UNIMPLEMENTED_FEATURE;
}
+/* These were badly named in previous versions
+ */
+void gnutls_db_set_retrieve_function( GNUTLS_STATE state, GNUTLS_DB_RETR_FUNC func)
+{
+ return gnutls_db_set_retrieve_func(state, func);
+}
+
+void gnutls_db_set_remove_function( GNUTLS_STATE state, GNUTLS_DB_REMOVE_FUNC func)
+{
+ return gnutls_db_set_remove_func(state, func);
+}
+
+void gnutls_db_set_store_function( GNUTLS_STATE state, GNUTLS_DB_STORE_FUNC func)
+{
+ return gnutls_db_set_store_func(state, func);
+}
+
+
/* nothing here */
#endif /* GNUTLS_BACKWARDS_COMPATIBLE */