~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/util/mymalloc.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-ooo6yfg6kmoteu04
Tags: upstream-2.1.3
ImportĀ upstreamĀ versionĀ 2.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 char *mymalloc(int);
 
18
extern char *myrealloc(char *, int);
 
19
extern void myfree(char *);
 
20
extern char *mystrdup(const char *);
 
21
extern char *mystrndup(const char *, int len);
 
22
extern char *mymemdup(const char *, int);
 
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
 
 
35
#endif