summaryrefslogtreecommitdiff
path: root/lib/gnutls_state.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-06 17:14:22 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-06 17:14:22 +0000
commitb0d4b6150fac1f17c61058a19e86ccedc2ff87c2 (patch)
tree4ec51caa2caf3ac4b876240d7e45c80863a483fe /lib/gnutls_state.c
parent84db053194b3e76290e75e6c4a268b2143774687 (diff)
downloadgnutls-b0d4b6150fac1f17c61058a19e86ccedc2ff87c2.tar.gz
Added the new functions gnutls_get_malloc_function(), gnutls_get_free_function(). Also changed the way callback functions must allocate data. They now need to use these functions, instead of just calling malloc().
Diffstat (limited to 'lib/gnutls_state.c')
-rw-r--r--lib/gnutls_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c
index 689d12f6ab..6404e1e745 100644
--- a/lib/gnutls_state.c
+++ b/lib/gnutls_state.c
@@ -764,3 +764,4 @@ void gnutls_session_set_ptr(gnutls_session session, void* ptr)
int gnutls_record_get_direction(gnutls_session session) {
return session->internals.direction;
}
+