summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-20 07:22:55 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-20 07:22:55 +0000
commit15ce639e5a18ebe40ffae904158cec6635deb084 (patch)
treeaf70fc75e7cd060e2fa0e3512497ed6c418e4ee6 /lib
parentad7a5180e6c0066673e1f8b5fb8621b610cdca2d (diff)
downloadgnutls-15ce639e5a18ebe40ffae904158cec6635deb084.tar.gz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls.h.in.in2
-rw-r--r--lib/gnutls_global.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls.h.in.in b/lib/gnutls.h.in.in
index 043c0a5846..b1f3510536 100644
--- a/lib/gnutls.h.in.in
+++ b/lib/gnutls.h.in.in
@@ -254,7 +254,7 @@ int gnutls_certificate_set_x509_key_mem(GNUTLS_CERTIFICATE_CREDENTIALS res,
int gnutls_global_init(void);
void gnutls_global_deinit(void);
-void gnutls_global_set_mem_function(
+void gnutls_global_set_mem_functions(
void *(*gnutls_alloc_func)(size_t), void* (*gnutls_secure_alloc_func)(size_t),
int (*gnutls_is_secure_func)(const void*), void *(*gnutls_realloc_func)(void *, size_t),
void (*gnutls_free_func)(void*));
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index c4034840d7..77bbf28023 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -79,7 +79,7 @@ extern void* (*gnutls_calloc)(size_t, size_t);
int _gnutls_is_secure_mem_null( const void*);
/**
- * gnutls_global_set_mem_function - This function sets the memory allocation functions
+ * gnutls_global_set_mem_functions - This function sets the memory allocation functions
* @alloc_func: it's the default memory allocation function. Like malloc().
* @secure_alloc_func: This is the memory allocation function that will be used for sensitive data.
* @is_secure_func: a function that returns 0 if the memory given is not secure. May be NULL.
@@ -95,7 +95,7 @@ int _gnutls_is_secure_mem_null( const void*);
* This function must be called before gnutls_global_init() is called.
*
**/
-void gnutls_global_set_mem_function(
+void gnutls_global_set_mem_functions(
void *(*gnutls_alloc_func)(size_t), void* (*gnutls_secure_alloc_func)(size_t),
int (*gnutls_is_secure_func)(const void*), void *(*gnutls_realloc_func)(void *, size_t),
void (*gnutls_free_func)(void*))