diff options
Diffstat (limited to 'src/include/common/fe_memutils.h')
-rw-r--r-- | src/include/common/fe_memutils.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/common/fe_memutils.h b/src/include/common/fe_memutils.h new file mode 100644 index 00000000000..cefa7ecedc8 --- /dev/null +++ b/src/include/common/fe_memutils.h @@ -0,0 +1,20 @@ +/* + * fe_memutils.h + * memory management support for frontend code + * + * Copyright (c) 2003-2013, PostgreSQL Global Development Group + * + * src/include/common/fe_memutils.h + */ +#ifndef FE_MEMUTILS_H +#define FE_MEMUTILS_H + +extern char *pg_strdup(const char *string); +extern void *pg_malloc(size_t size); +extern void *pg_malloc0(size_t size); +extern void *pg_realloc(void *pointer, size_t size); +extern void pg_free(void *pointer); + +#include "utils/palloc.h" + +#endif /* FE_MEMUTILS_H */ |