54 typedef char *(*VariableSubstituteHook) (
char *
newval);
VariableSubstituteHook substitute_hook
VariableAssignHook assign_hook
void PrintVariables(VariableSpace space)
bool DeleteVariable(VariableSpace space, const char *name)
void SetVariableHooks(VariableSpace space, const char *name, VariableSubstituteHook shook, VariableAssignHook ahook)
void PsqlVarEnumError(const char *name, const char *value, const char *suggestions)
char *(* VariableSubstituteHook)(char *newval)
bool ParseVariableBool(const char *value, const char *name, bool *result)
bool SetVariableBool(VariableSpace space, const char *name)
bool ParseVariableNum(const char *value, const char *name, int *result)
struct _variable * VariableSpace
bool VariableHasHook(VariableSpace space, const char *name)
bool(* VariableAssignHook)(const char *newval)
bool SetVariable(VariableSpace space, const char *name, const char *value)
const char * GetVariable(VariableSpace space, const char *name)
VariableSpace CreateVariableSpace(void)