Header And Logo

PostgreSQL
| The world's most advanced open source database.

fe_memutils.h

Go to the documentation of this file.
00001 /*
00002  *  fe_memutils.h
00003  *      memory management support for frontend code
00004  *
00005  *  Copyright (c) 2003-2013, PostgreSQL Global Development Group
00006  *
00007  *  src/include/common/fe_memutils.h
00008  */
00009 #ifndef FE_MEMUTILS_H
00010 #define FE_MEMUTILS_H
00011 
00012 extern char *pg_strdup(const char *in);
00013 extern void *pg_malloc(size_t size);
00014 extern void *pg_malloc0(size_t size);
00015 extern void *pg_realloc(void *pointer, size_t size);
00016 extern void  pg_free(void *pointer);
00017 
00018 #include "utils/palloc.h"
00019 
00020 #endif   /* FE_MEMUTILS_H */