libgit2

git_config_backend

Version:

Generic backend that implements the interface to access a configuration file

Signature

typedef struct git_config_backend { unsigned int version struct git_config *cfg int (*)(struct git_config_backend *, git_config_level_t) open int (*)(struct git_config_backend *, const char *, const git_config_entry **) get int (*)(struct git_config_backend *, const char *, const char *) set int (*)(git_config_backend *, const char *, const char *, const char *) set_multivar int (*)(struct git_config_backend *, const char *) del int (*)(struct git_config_backend *, const char *, const char *) del_multivar int (*)(git_config_iterator **, struct git_config_backend *) iterator int (*)(struct git_config_backend *) refresh int (*)(struct git_config_backend **, struct git_config_backend *) snapshot void (*)(struct git_config_backend *) free };

Members

unsigned int
version
struct git_config *
cfg
int (*)(struct git_config_backend *, git_config_level_t)
open
int (*)(struct git_config_backend *, const char *, const git_config_entry **)
get
int (*)(struct git_config_backend *, const char *, const char *)
set
int (*)(git_config_backend *, const char *, const char *, const char *)
set_multivar
int (*)(struct git_config_backend *, const char *)
del
int (*)(struct git_config_backend *, const char *, const char *)
del_multivar
int (*)(git_config_iterator **, struct git_config_backend *)
iterator
int (*)(struct git_config_backend *)
refresh
int (*)(struct git_config_backend **, struct git_config_backend *)
snapshot

Produce a read-only version of this backend

void (*)(struct git_config_backend *)
free

Parameter To

Versions