summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-11-15 21:32:25 +0100
committerWerner Koch <wk@gnupg.org>1999-11-15 21:32:25 +0100
commit37f3c09edb6d6b866cd8e8bed76c304e26fd7c44 (patch)
tree8d5b61e4e1812305691858cfe738211b56b1a12b /include
parentSee ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch (diff)
downloadgnupg2-37f3c09edb6d6b866cd8e8bed76c304e26fd7c44.tar.xz
gnupg2-37f3c09edb6d6b866cd8e8bed76c304e26fd7c44.zip
See ChangeLog: Mon Nov 15 21:36:02 CET 1999 Werner Koch
Diffstat (limited to 'include')
-rw-r--r--include/g10lib.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/g10lib.h b/include/g10lib.h
index ee04b655c..aa2977825 100644
--- a/include/g10lib.h
+++ b/include/g10lib.h
@@ -41,7 +41,6 @@
/*-- gcrypt/global.c --*/
int set_lasterr( int ec );
-
void *g10_malloc( size_t n );
void *g10_calloc( size_t n, size_t m );
void *g10_malloc_secure( size_t n );
@@ -59,7 +58,16 @@ void g10_free( void *p );
/*-- gcrypt/misc.c --*/
const char *g10_gettext( const char *key );
-int fatal_invalid_arg(const char *text);
+void g10_fatal_error(int rc, const char *text );
+
+
+/*-- util/memory.c --*/
+
+#define g10_private_malloc(n) m_alloc((n))
+#define g10_private_malloc_secure(n) m_alloc_secure((n))
+#define g10_private_is_secure(n) m_is_secure((n))
+#define g10_private_realloc(a,n) m_realloc((a),(n))
+#define g10_private_free(p) m_free((p))
/*-- cipher/pubkey.c --*/