packaging: Add contrib installation
[platform/upstream/git.git] / trace2 / tr2_cfg.h
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 /*
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 /*
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
25 void tr2_cfg_free_env_vars(void);
26
27 #endif /* TR2_CFG_H */