API call to get all SCR_Config key-value pairs
I'm having trouble tracking down how all the SCR_Config key-value pairs are set in test programs. I would like to be able to query all key-value pairs in each test program, and dump it to stdout for diagnostic purposes. I can already query the values if I know the keys, but I don't see a way to get the canonical list of keys known to SCR. The best I have found is a list in the documentation, but that may not be synced to the current state of the code. Is there a way to get all the currently-recognized keys?
Also, if I query a key from SCR_Config, but that key was never set in a config file or a previous SCR_Config call, will it return null or error, or some assumed default value? I'd like to see the default value.
SCR is a bit tricky. The VeloC components document (more or less) the settable options in the known_options list. SCR does not do that and what is settable is defined by what scr_params_get obtains by calling scr_param_get. scr_params_get also frees all the various structures where "set" values were stored so that after SCR_Init no knowledge of which parameters were set is retained.