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 int readonly struct git_config *cfg int (*)(struct git_config_backend *, git_config_level_t, const git_repository *) open int (*)(struct git_config_backend *, const char *, git_config_backend_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 **, struct git_config_backend *) snapshot int (*)(struct git_config_backend *) lock int (*)(struct git_config_backend *, int) unlock void (*)(struct git_config_backend *) free };

Members

unsigned int
version
int
readonly

True if this backend is for a snapshot

struct git_config *
cfg
int (*)(struct git_config_backend *, git_config_level_t, const git_repository *)
open
int (*)(struct git_config_backend *, const char *, git_config_backend_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 **, struct git_config_backend *)
snapshot
int (*)(struct git_config_backend *)
lock
int (*)(struct git_config_backend *, int)
unlock
void (*)(struct git_config_backend *)
free

Parameter To

Versions