aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/variables.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-02-13 21:45:15 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-02-13 21:45:15 +0000
commit9672d38f91f908e8a314d2f4500d9ec6b24d3b02 (patch)
tree00c16a27fe10f395c70a65d7d41991178d753ada /src/bin/psql/variables.h
parenta2226ad2373dcea5063fb8dafee1d52487be15cd (diff)
downloadpostgresql-9672d38f91f908e8a314d2f4500d9ec6b24d3b02.tar.gz
postgresql-9672d38f91f908e8a314d2f4500d9ec6b24d3b02.zip
Adjusted psql echoing options (-a and -e)
Diffstat (limited to 'src/bin/psql/variables.h')
-rw-r--r--src/bin/psql/variables.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/psql/variables.h b/src/bin/psql/variables.h
index 2b476dd0c31..521efc51dde 100644
--- a/src/bin/psql/variables.h
+++ b/src/bin/psql/variables.h
@@ -3,17 +3,13 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/variables.h,v 1.5 2000/01/29 16:58:49 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/variables.h,v 1.6 2000/02/13 21:45:14 petere Exp $
*/
/*
* This implements a sort of variable repository. One could also think of it
* as cheap version of an associative array. In each one of these
* datastructures you can store name/value pairs.
- *
- * All functions (should) follow the Shit-In-Shit-Out (SISO) principle, i.e.,
- * you can pass them NULL pointers and the like and they will return something
- * appropriate.
*/
#ifndef VARIABLES_H
@@ -37,6 +33,7 @@ VariableSpace CreateVariableSpace(void);
const char *GetVariable(VariableSpace space, const char *name);
bool GetVariableBool(VariableSpace space, const char *name);
bool SetVariable(VariableSpace space, const char *name, const char *value);
+bool SetVariableBool(VariableSpace space, const char *name);
bool DeleteVariable(VariableSpace space, const char *name);
void DestroyVariableSpace(VariableSpace space);