Jeff Hostetler | ee4512e | 2019-02-22 14:25:01 -0800 | [diff] [blame] | 1 | #ifndef TR2_CFG_H |
| 2 | #define TR2_CFG_H |
| 3 | |
| 4 | /* |
| 5 | * Iterate over all config settings and emit 'def_param' events for the |
| 6 | * "interesting" ones to TRACE2. |
| 7 | */ |
| 8 | void tr2_cfg_list_config_fl(const char *file, int line); |
| 9 | |
| 10 | /* |
Josh Steadmon | 3d3adaa | 2020-03-20 14:06:15 -0700 | [diff] [blame] | 11 | * Iterate over all "interesting" environment variables and emit 'def_param' |
| 12 | * events for them to TRACE2. |
| 13 | */ |
| 14 | void tr2_list_env_vars_fl(const char *file, int line); |
| 15 | |
| 16 | /* |
Jeff Hostetler | ee4512e | 2019-02-22 14:25:01 -0800 | [diff] [blame] | 17 | * Emit a "def_param" event for the given key/value pair IF we consider |
| 18 | * the key to be "interesting". |
| 19 | */ |
| 20 | void tr2_cfg_set_fl(const char *file, int line, const char *key, |
| 21 | const char *value); |
| 22 | |
| 23 | void tr2_cfg_free_patterns(void); |
| 24 | |
Josh Steadmon | 3d3adaa | 2020-03-20 14:06:15 -0700 | [diff] [blame] | 25 | void tr2_cfg_free_env_vars(void); |
| 26 | |
Jeff Hostetler | ee4512e | 2019-02-22 14:25:01 -0800 | [diff] [blame] | 27 | #endif /* TR2_CFG_H */ |