]> granicus.if.org Git - postgresql/blobdiff - src/bin/psql/copy.h
Translation updates, some messages tweaked.
[postgresql] / src / bin / psql / copy.h
index 6258fcb2806dbce369443c38424e79a9400a6d01..c22146707ae099453baba9413464057c9e84b11a 100644 (file)
@@ -1,22 +1,23 @@
+/*
+ * psql - the PostgreSQL interactive terminal
+ *
+ * Copyright 2000 by PostgreSQL Global Development Group
+ *
+ * $Header: /cvsroot/pgsql/src/bin/psql/copy.h,v 1.11 2001/10/28 06:25:58 momjian Exp $
+ */
 #ifndef COPY_H
 #define COPY_H
 
-#include <c.h>
-#include <stdio.h>
-#include <libpq-fe.h>
-#include "settings.h"
+#include "libpq-fe.h"
 
-/* handler for \copy */
-bool
-                       do_copy(const char *args, int encoding);
+extern bool copy_in_state;
 
+/* handler for \copy */
+bool           do_copy(const char *args);
 
 /* lower level processors for copy in/out streams */
 
-bool
-                       handleCopyOut(PGconn *conn, FILE *copystream);
-
-bool
-                       handleCopyIn(PGconn *conn, FILE *copystream, const char *prompt);
+bool           handleCopyOut(PGconn *conn, FILE *copystream);
+bool           handleCopyIn(PGconn *conn, FILE *copystream, const char *prompt);
 
 #endif