]> granicus.if.org Git - postgresql/blob - src/bin/psql/copy.h
pgindent run on all C files. Java run to follow. initdb/regression
[postgresql] / src / bin / psql / copy.h
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright 2000 by PostgreSQL Global Development Group
5  *
6  * $Header: /cvsroot/pgsql/src/bin/psql/copy.h,v 1.10 2001/10/25 05:49:53 momjian Exp $
7  */
8 #ifndef COPY_H
9 #define COPY_H
10
11 #include "libpq-fe.h"
12
13 extern bool copy_in_state;
14
15 /* handler for \copy */
16 bool            do_copy(const char *args);
17
18 /* lower level processors for copy in/out streams */
19
20 bool            handleCopyOut(PGconn *conn, FILE *copystream);
21 bool            handleCopyIn(PGconn *conn, FILE *copystream, const char *prompt);
22 #endif