aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-01-28 16:09:43 +0000
committerWerner Koch <[email protected]>1998-01-28 16:09:43 +0000
commit9bf8ce27bcd3a58d522262f23c2ca36bfe0a52b7 (patch)
treeefa4f8e1ccbc5e989942cde55c36220dca2d8fbd /include/memory.h
parentmoved stuff to aclocal.m4 (diff)
downloadgnupg-9bf8ce27bcd3a58d522262f23c2ca36bfe0a52b7.tar.gz
gnupg-9bf8ce27bcd3a58d522262f23c2ca36bfe0a52b7.zip
version 0.2.1
Diffstat (limited to 'include/memory.h')
-rw-r--r--include/memory.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h
index 6a9ed84df..bf4e66b2a 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -61,9 +61,20 @@ char *m_strdup( const char * a);
size_t m_size( const void *a );
int m_is_secure( const void *p );
+/*-- secmem.c --*/
+void secmem_init( size_t npool );
+void secmem_term( void );
+void *secmem_malloc( size_t size );
+void secmem_free( void *a );
+void secmem_dump_stats(void);
+
+
+
#define DBG_MEMORY memory_debug_mode
#define DBG_MEMSTAT memory_stat_debug_mode
int memory_debug_mode;
int memory_stat_debug_mode;
+
+
#endif /*G10_MEMORY_H*/