aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/common.h
blob: 742d9f68c6c8a99722e65cfaab2a684509b4af09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*-------------------------------------------------------------------------
 *
 * common.h
 *	  Common header file for the pg_dump, pg_dumpall, 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/common.h
 *
 *-------------------------------------------------------------------------
 */

#ifndef COMMON_H
#define COMMON_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   /* COMMON_H */