1 #ifndef _MALLOC_H_INCLUDED_ 2 #define _MALLOC_H_INCLUDED_ 3 4 /*++ 5 /* NAME 6 /* mymalloc 3h 7 /* SUMMARY 8 /* memory management wrappers 9 /* SYNOPSIS 10 /* #include "mymalloc.h" 11 /* DESCRIPTION 12 /* .nf 13 14 /* 15 * External interface. 16 */ 17 extern void *mymalloc(ssize_t); 18 extern void *myrealloc(void *, ssize_t); 19 extern void myfree(void *); 20 extern char *mystrdup(const char *); 21 extern char *mystrndup(const char *, ssize_t); 22 extern void *mymemdup(const void *, ssize_t); 23 24 /* LICENSE 25 /* .ad 26 /* .fi 27 /* The Secure Mailer license must be distributed with this software. 28 /* AUTHOR(S) 29 /* Wietse Venema 30 /* IBM T.J. Watson Research 31 /* P.O. Box 704 32 /* Yorktown Heights, NY 10598, USA 33 /* 34 /* Wietse Venema 35 /* Google, Inc. 36 /* 111 8th Avenue 37 /* New York, NY 10011, USA 38 /*--*/ 39 40 #endif 41