Generic backend that implements the interface to
access a configuration file
typedef struct git_config_file {
struct git_config *cfg
int (*)(struct git_config_file *) open
int (*)(struct git_config_file *, const char *, const char **) get
int (*)(struct git_config_file *, const char *, const char *, int (*)(const char *, void *), void *) get_multivar
int (*)(struct git_config_file *, const char *, const char *) set
int (*)(git_config_file *, const char *, const char *, const char *) set_multivar
int (*)(struct git_config_file *, const char *) del
int (*)(struct git_config_file *, int (*)(const char *, const char *, void *), void *) foreach
void (*)(struct git_config_file *) free
};
int (*)(struct git_config_file *)
open
int (*)(struct git_config_file *, const char *, const char **)
get
int (*)(struct git_config_file *, const char *, const char *, int (*)(const char *, void *), void *)
get_multivar
int (*)(struct git_config_file *, const char *, const char *)
set
int (*)(git_config_file *, const char *, const char *, const char *)
set_multivar
int (*)(struct git_config_file *, const char *)
del
int (*)(struct git_config_file *, int (*)(const char *, const char *, void *), void *)
foreach
void (*)(struct git_config_file *)
free