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 *) set
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 *)
set
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