OSDN Git Service

OK, folks, here is the pgindent output.
[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.6 1998/09/01 04:39:24 momjian Exp $
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PALLOC_H
14 #define PALLOC_H
15
16 #include <c.h>
17
18 extern void *palloc(Size size);
19 extern void pfree(void *pointer);
20 extern void *repalloc(void *pointer, Size size);
21
22 /* like strdup except uses palloc */
23 extern char *pstrdup(char *pointer);
24
25 #endif   /* PALLOC_H */