diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-11-04 23:14:30 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-11-04 23:14:30 +0000 |
commit | 0e6652e67357354e01f2466184343d0bc0ee2cab (patch) | |
tree | 0c06450508417e033f8a2b90241a7126cd54c4fe /src/bin/psql/variables.h | |
parent | 2323b63631080b7d4c287872a83b0ea30bd7874a (diff) | |
download | postgresql-0e6652e67357354e01f2466184343d0bc0ee2cab.tar.gz |
psql cleanup
Diffstat (limited to 'src/bin/psql/variables.h')
-rw-r--r-- | src/bin/psql/variables.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/bin/psql/variables.h b/src/bin/psql/variables.h index 9e2dd2e3a7..c8c3a0adae 100644 --- a/src/bin/psql/variables.h +++ b/src/bin/psql/variables.h @@ -13,21 +13,22 @@ #define VALID_VARIABLE_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_" -struct _variable { - char * name; - char * value; - struct _variable * next; +struct _variable +{ + char *name; + char *value; + struct _variable *next; }; -typedef struct _variable * VariableSpace; +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 DeleteVariable(VariableSpace space, const char * name); -void DestroyVariableSpace(VariableSpace space); +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 DeleteVariable(VariableSpace space, const char *name); +void DestroyVariableSpace(VariableSpace space); -#endif /* VARIABLES_H */ +#endif /* VARIABLES_H */ |