summaryrefslogtreecommitdiff
path: root/src/bin/psql/variables.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-11-04 23:14:30 +0000
committerBruce Momjian <bruce@momjian.us>1999-11-04 23:14:30 +0000
commit0e6652e67357354e01f2466184343d0bc0ee2cab (patch)
tree0c06450508417e033f8a2b90241a7126cd54c4fe /src/bin/psql/variables.h
parent2323b63631080b7d4c287872a83b0ea30bd7874a (diff)
downloadpostgresql-0e6652e67357354e01f2466184343d0bc0ee2cab.tar.gz
psql cleanup
Diffstat (limited to 'src/bin/psql/variables.h')
-rw-r--r--src/bin/psql/variables.h23
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 */