]> granicus.if.org Git - postgresql/blob - src/include/utils/palloc.h
Massive commit to run PGINDENT on all *.c and *.h files.
[postgresql] / 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.4 1997/09/07 05:02:49 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 */