diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:20:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:20:39 +0000 |
commit | a03b81737311f0c7cb1e7617795c12c20cdafa58 (patch) | |
tree | b37cb065789b9391413397e513f96d84340fc26e /src/interfaces/libpq/libpq-fe.h | |
parent | ce3afccf7f7ca7e2338d1a1a9213eb96de150743 (diff) |
Const fixes from D'Arcy.
Diffstat (limited to 'src/interfaces/libpq/libpq-fe.h')
-rw-r--r-- | src/interfaces/libpq/libpq-fe.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h index 3f3628777a5..8fdf1dd0a3c 100644 --- a/src/interfaces/libpq/libpq-fe.h +++ b/src/interfaces/libpq/libpq-fe.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: libpq-fe.h,v 1.45 1998/10/06 14:16:49 tgl Exp $ + * $Id: libpq-fe.h,v 1.46 1999/02/04 03:20:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -100,9 +100,9 @@ extern "C" pqbool html3; /* output html tables */ pqbool expanded; /* expand tables */ pqbool pager; /* use pager for output if needed */ - char *fieldSep; /* field separator */ - char *tableOpt; /* insert to HTML <table ...> */ - char *caption; /* HTML <caption> */ + const char *fieldSep; /* field separator */ + const char *tableOpt; /* insert to HTML <table ...> */ + const char *caption; /* HTML <caption> */ char **fieldName; /* null terminated array of repalcement * field names */ } PQprintOpt; @@ -113,12 +113,12 @@ extern "C" */ typedef struct _PQconninfoOption { - char *keyword; /* The keyword of the option */ - char *envvar; /* Fallback environment variable name */ - char *compiled; /* Fallback compiled in default value */ - char *val; /* Options value */ - char *label; /* Label for field in connect dialog */ - char *dispchar; /* Character to display for this field */ + const char *keyword; /* The keyword of the option */ + const char *envvar; /* Fallback environment variable name */ + const char *compiled; /* Fallback compiled in default value */ + char *val; /* Options value */ + const char *label; /* Label for field in connect dialog */ + const char *dispchar; /* Character to display for this field */ /* in a connect dialog. Values are: */ /* "" Display entered value as is */ /* "*" Password field - hide value */ |