xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/mymalloc.h (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1 /*	$NetBSD: mymalloc.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $	*/
2 
3 #ifndef _MALLOC_H_INCLUDED_
4 #define _MALLOC_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	mymalloc 3h
9 /* SUMMARY
10 /*	memory management wrappers
11 /* SYNOPSIS
12 /*	#include "mymalloc.h"
13  DESCRIPTION
14  .nf
15 
16  /*
17   * External interface.
18   */
19 extern char *mymalloc(ssize_t);
20 extern char *myrealloc(char *, ssize_t);
21 extern void myfree(char *);
22 extern char *mystrdup(const char *);
23 extern char *mystrndup(const char *, ssize_t);
24 extern char *mymemdup(const char *, ssize_t);
25 
26 /* LICENSE
27 /* .ad
28 /* .fi
29 /*	The Secure Mailer license must be distributed with this software.
30 /* AUTHOR(S)
31 /*	Wietse Venema
32 /*	IBM T.J. Watson Research
33 /*	P.O. Box 704
34 /*	Yorktown Heights, NY 10598, USA
35 /*--*/
36 
37 #endif
38