aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/dumpmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_dump/dumpmem.h')
-rw-r--r--src/bin/pg_dump/dumpmem.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/bin/pg_dump/dumpmem.h b/src/bin/pg_dump/dumpmem.h
new file mode 100644
index 00000000000..f70b32065e6
--- /dev/null
+++ b/src/bin/pg_dump/dumpmem.h
@@ -0,0 +1,24 @@
+/*-------------------------------------------------------------------------
+ *
+ * dumpmem.h
+ * Common header file for the pg_dump and pg_restore
+ *
+ * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/bin/pg_dump/dumpmem.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef DUMPMEM_H
+#define DUMPMEM_H
+
+#include "postgres_fe.h"
+
+extern char *pg_strdup(const char *string);
+extern void *pg_malloc(size_t size);
+extern void *pg_calloc(size_t nmemb, size_t size);
+extern void *pg_realloc(void *ptr, size_t size);
+
+#endif /* DUMPMEM_H */