blob: a11d71feb5bfb1c0e044ece4dcba6e47d560be2f [file] [log] [blame]
Jeff Hostetleree4512e2019-02-22 14:25:01 -08001#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 */
8void tr2_cfg_list_config_fl(const char *file, int line);
9
10/*
Josh Steadmon3d3adaa2020-03-20 14:06:15 -070011 * Iterate over all "interesting" environment variables and emit 'def_param'
12 * events for them to TRACE2.
13 */
14void tr2_list_env_vars_fl(const char *file, int line);
15
16/*
Jeff Hostetleree4512e2019-02-22 14:25:01 -080017 * Emit a "def_param" event for the given key/value pair IF we consider
18 * the key to be "interesting".
19 */
20void tr2_cfg_set_fl(const char *file, int line, const char *key,
21 const char *value);
22
23void tr2_cfg_free_patterns(void);
24
Josh Steadmon3d3adaa2020-03-20 14:06:15 -070025void tr2_cfg_free_env_vars(void);
26
Jeff Hostetleree4512e2019-02-22 14:25:01 -080027#endif /* TR2_CFG_H */