
Go to the source code of this file.
Functions | |
| void | GucInfoMain (void) __attribute__((noreturn)) |
| void GucInfoMain | ( | void | ) |
Definition at line 47 of file help_config.c.
References build_guc_variables(), displayStruct(), get_guc_variables(), GetNumConfigOptions(), i, and printMixedStruct().
Referenced by main().
{
struct config_generic **guc_vars;
int numOpts,
i;
/* Initialize the guc_variables[] array */
build_guc_variables();
guc_vars = get_guc_variables();
numOpts = GetNumConfigOptions();
for (i = 0; i < numOpts; i++)
{
mixedStruct *var = (mixedStruct *) guc_vars[i];
if (displayStruct(var))
printMixedStruct(var);
}
exit(0);
}
1.7.1