summaryrefslogtreecommitdiff
path: root/src/bin/psql/common.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-07-06 20:12:30 +0000
committerBruce Momjian <bruce@momjian.us>2002-07-06 20:12:30 +0000
commit7015111a19eba481f3abf3f8d6149cd417bf6de5 (patch)
treeaa7dc3eaf73cc2961bf15f1f2a9ead5c219e1ee9 /src/bin/psql/common.h
parentd66f172f4b75df4fccae02612a181f1161e0865d (diff)
downloadpostgresql-7015111a19eba481f3abf3f8d6149cd417bf6de5.tar.gz
Move simple_prompt() into its own file to be shared with psql and pg_dump.
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r--src/bin/psql/common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h
index a148fcce0a..f11a798127 100644
--- a/src/bin/psql/common.h
+++ b/src/bin/psql/common.h
@@ -3,7 +3,7 @@
*
* 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 $
+ * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.18 2002/07/06 20:12:30 momjian Exp $
*/
#ifndef COMMON_H
#define COMMON_H
@@ -37,4 +37,7 @@ extern PGresult *PSQLexec(const char *query);
extern bool SendQuery(const char *query);
+/* sprompt.h */
+extern char *simple_prompt(const char *prompt, int maxlen, bool echo);
+
#endif /* COMMON_H */