aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg-error.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg-error.h.in')
-rw-r--r--src/gpg-error.h.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 8c008ac..4b1c0a0 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -181,13 +181,17 @@ gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR;
# define gpgrt_init() do { ; } while (0)
#endif
-/* Register blocking system I/O clamping functions. */
-void gpgrt_set_syscall_clamp (void (*pre)(void), void (*post)(void));
-
/* See the source on how to use the deinit function; it is usually not
required. */
void gpg_err_deinit (int mode);
+/* Register blocking system I/O clamping functions. */
+void gpgrt_set_syscall_clamp (void (*pre)(void), void (*post)(void));
+
+/* Register a custom malloc/realloc/free function. */
+void gpgrt_set_alloc_func (void *(*f)(void *a, size_t n));
+
+
/* Constructor and accessor functions. */