aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1997-12-09 12:46:23 +0000
committerWerner Koch <[email protected]>1997-12-09 12:46:23 +0000
commit935965049d424d3bb69efb672f9f44c36e7cbcb6 (patch)
tree37113923fa101828e1b43a8a71b9a85e17cd82a8 /include/memory.h
parentdetached signatures are working (diff)
downloadgnupg-935965049d424d3bb69efb672f9f44c36e7cbcb6.tar.gz
gnupg-935965049d424d3bb69efb672f9f44c36e7cbcb6.zip
fingerprints and self signatures added
Diffstat (limited to 'include/memory.h')
-rw-r--r--include/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h
index aa8bb706d..32eb3906b 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -33,6 +33,7 @@
#define m_realloc(n,m) m_debug_realloc((n),(m), M_DBGINFO(__LINE__) )
#define m_free(n) m_debug_free((n), M_DBGINFO(__LINE__) )
#define m_check(n) m_debug_check((n), M_DBGINFO(__LINE__) )
+#define m_copy(a) m_debug_copy((a), M_DBGINFO(__LINE__) )
void *m_debug_alloc( size_t n, const char *info );
void *m_debug_alloc_clear( size_t n, const char *info );
@@ -41,6 +42,7 @@ void *m_debug_alloc_secure_clear( size_t n, const char *info );
void *m_debug_realloc( void *a, size_t n, const char *info );
void m_debug_free( void *p, const char *info );
void m_debug_check( const void *a, const char *info );
+void *m_debug_copy( const void *a, const char *info );
#else
void *m_alloc( size_t n );
@@ -50,6 +52,7 @@ void *m_alloc_secure_clear( size_t n );
void *m_realloc( void *a, size_t n );
void m_free( void *p );
void m_check( const void *a );
+void *m_copy( void *a );
#endif