]> granicus.if.org Git - postgresql/blob - src/bin/psql/copy.h
Another pgindent run. Fixes enum indenting, and improves #endif
[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.11 2001/10/28 06:25:58 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
23 #endif