diff options
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r-- | src/bin/psql/common.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h deleted file mode 100644 index a148fcce0a0..00000000000 --- a/src/bin/psql/common.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * psql - the PostgreSQL interactive terminal - * - * Copyright 2000 by PostgreSQL Global Development Group - * - * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.17 2001/11/05 17:46:31 momjian Exp $ - */ -#ifndef COMMON_H -#define COMMON_H - -#include "postgres_fe.h" -#include <signal.h> -#include "pqsignal.h" -#include "libpq-fe.h" - -extern char *xstrdup(const char *string); - -extern bool setQFout(const char *fname); - -extern void -psql_error(const char *fmt,...) -/* This lets gcc check the format string for consistency. */ -__attribute__((format(printf, 1, 2))); - -extern void NoticeProcessor(void *arg, const char *message); - -extern char *simple_prompt(const char *prompt, int maxlen, bool echo); - -extern volatile bool cancel_pressed; -extern PGconn *cancelConn; - -#ifndef WIN32 -extern void handle_sigint(SIGNAL_ARGS); -#endif /* not WIN32 */ - -extern PGresult *PSQLexec(const char *query); - -extern bool SendQuery(const char *query); - -#endif /* COMMON_H */ |