|
6 | 6 | *
|
7 | 7 | * Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - * $Id: libpq-fe.h,v 1.15 1996/12/10 07:05:12 bryanh Exp $ |
| 9 | + * $Id: libpq-fe.h,v 1.16 1996/12/26 23:27:16 bryanh Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -144,13 +144,19 @@ typedef struct pg_result{
|
144 | 144 | PGconn*conn;
|
145 | 145 | }PGresult;
|
146 | 146 |
|
| 147 | +typedefcharpqbool; |
| 148 | +/* We can't use the conventional "bool", because we are designed to be |
| 149 | + included in a user's program, and user may already have that type |
| 150 | + defined. Pqbool, on the other hand, is unlikely to be used. |
| 151 | + */ |
| 152 | + |
147 | 153 | struct_PQprintOpt {
|
148 |
| -boolheader;/* print output field headings and row count */ |
149 |
| -boolalign;/* fill align the fields */ |
150 |
| -boolstandard;/* old brain dead format */ |
151 |
| -boolhtml3;/* output html tables */ |
152 |
| -boolexpanded;/* expand tables */ |
153 |
| -boolpager;/* use pager for output if needed */ |
| 154 | +pqboolheader;/* print output field headings and row count */ |
| 155 | +pqboolalign;/* fill align the fields */ |
| 156 | +pqboolstandard;/* old brain dead format */ |
| 157 | +pqboolhtml3;/* output html tables */ |
| 158 | +pqboolexpanded;/* expand tables */ |
| 159 | +pqboolpager;/* use pager for output if needed */ |
154 | 160 | char*fieldSep;/* field separator */
|
155 | 161 | char*tableOpt;/* insert to HTML <table ...> */
|
156 | 162 | char*caption;/* HTML <caption> */
|
|