#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "config.h"
#include "strbuf.h"
#include "trace2.h"
#include "trace2/tr2_cfg.h"
#include "trace2/tr2_sysenv.h"
#include "wildmatch.h"
static struct strbuf **tr2_cfg_patterns;
static int tr2_cfg_count_patterns;
static int tr2_cfg_loaded;
static struct strbuf **tr2_cfg_env_vars;
static int tr2_cfg_env_vars_count;
static int tr2_cfg_env_vars_loaded;
static int tr2_cfg_load_patterns(void)
{ … }
void tr2_cfg_free_patterns(void)
{ … }
static int tr2_load_env_vars(void)
{ … }
void tr2_cfg_free_env_vars(void)
{ … }
struct tr2_cfg_data { … };
static int tr2_cfg_cb(const char *key, const char *value,
const struct config_context *ctx, void *d)
{ … }
void tr2_cfg_list_config_fl(const char *file, int line)
{ … }
void tr2_list_env_vars_fl(const char *file, int line)
{ … }
void tr2_cfg_set_fl(const char *file, int line, const char *key,
const char *value)
{ … }