diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-03-18 22:15:44 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-03-18 22:15:44 +0000 |
commit | cf1cf8964925cd36dc7bf034a968a4e44ede382a (patch) | |
tree | f80bcdd31d3af6f1783ea382e277130db22d6093 /src/bin/psql/print.h | |
parent | 9384dc6e597baf53d3aa07343163ec7011e6181a (diff) |
Make the printing code somewhat more independent by not relying on
functions and global variables from the rest of psql. Also clean up some
data type mismatches created by the last pager patch.
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r-- | src/bin/psql/print.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h index f97bf9ead52..e0ce3401d38 100644 --- a/src/bin/psql/print.h +++ b/src/bin/psql/print.h @@ -3,13 +3,17 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.15 2002/11/08 19:12:21 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.16 2003/03/18 22:15:44 petere Exp $ */ #ifndef PRINT_H #define PRINT_H #include "libpq-fe.h" + +extern FILE *PageOutput(int lines, unsigned short int pager); + + enum printFormat { PRINT_NOTHING = 0, /* to make sure someone initializes this */ @@ -36,6 +40,7 @@ typedef struct _printTableOpt char *recordSep; /* record separator for unaligned text * mode */ char *tableAttr; /* attributes for HTML <table ...> */ + int encoding; /* character encoding */ } printTableOpt; |