OSDN Git Service

remove:
[pg-rex/syncrep.git] / src / include / utils / palloc.h
1 /*-------------------------------------------------------------------------
2  *
3  * palloc.h--
4  *    POSTGRES memory allocator definitions.
5  *
6  *
7  * Copyright (c) 1994, Regents of the University of California
8  *
9  * $Id: palloc.h,v 1.2 1996/10/31 09:51:28 scrappy Exp $
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PALLOC_H
14 #define PALLOC_H
15
16 extern void*   palloc(Size size);
17 extern void    pfree(void *pointer); 
18 extern void *repalloc(void *pointer, Size size);
19
20 /* like strdup except uses palloc */
21 extern char* pstrdup(char* pointer);
22
23 #endif  /* PALLOC_H */
24