diff options
Diffstat (limited to 'src/bin/psql/variables.h')
-rw-r--r-- | src/bin/psql/variables.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/bin/psql/variables.h b/src/bin/psql/variables.h deleted file mode 100644 index a3e79b76214..00000000000 --- a/src/bin/psql/variables.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * psql - the PostgreSQL interactive terminal - * - * Copyright 2000 by PostgreSQL Global Development Group - * - * $Header: /cvsroot/pgsql/src/bin/psql/variables.h,v 1.10 2001/11/05 17:46:31 momjian 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. - */ - -#ifndef VARIABLES_H -#define VARIABLES_H - -#define VALID_VARIABLE_CHARS "abcdefghijklmnopqrstuvwxyz"\ - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789_" - -struct _variable -{ - char *name; - char *value; - struct _variable *next; -}; - -typedef struct _variable *VariableSpace; - - -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); - -#endif /* VARIABLES_H */ |