1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-13 14:22:43 +03:00

Move simple_prompt() into its own file to be shared with psql and pg_dump.

This commit is contained in:
Bruce Momjian
2002-07-06 20:12:30 +00:00
parent d66f172f4b
commit 7015111a19
8 changed files with 258 additions and 230 deletions

View File

@@ -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 */