summaryrefslogtreecommitdiff
path: root/include/git2/sys/config.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-08-08 13:41:18 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-08 13:57:01 +0200
commit4efa32903adf131631d283c914e0a5bf29c49e4d (patch)
treea02ddafb762d78e22ce21c216fb465b31108cc44 /include/git2/sys/config.h
parent84fec6f628b8c82a70c0aff5dc6a47d1cdb6fbf0 (diff)
downloadlibgit2-4efa32903adf131631d283c914e0a5bf29c49e4d.tar.gz
config: get_multivar -> get_multivar_foreach
The plain function will return an iterator, so move this one out of the way.
Diffstat (limited to 'include/git2/sys/config.h')
-rw-r--r--include/git2/sys/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/config.h b/include/git2/sys/config.h
index f617623a9..09c79638a 100644
--- a/include/git2/sys/config.h
+++ b/include/git2/sys/config.h
@@ -31,7 +31,7 @@ struct git_config_backend {
/* Open means open the file/database and parse if necessary */
int (*open)(struct git_config_backend *, git_config_level_t level);
int (*get)(const struct git_config_backend *, const char *key, const git_config_entry **entry);
- int (*get_multivar)(struct git_config_backend *, const char *key, const char *regexp, git_config_foreach_cb callback, void *payload);
+ int (*get_multivar_foreach)(struct git_config_backend *, const char *key, const char *regexp, git_config_foreach_cb callback, void *payload);
int (*set)(struct git_config_backend *, const char *key, const char *value);
int (*set_multivar)(git_config_backend *cfg, const char *name, const char *regexp, const char *value);
int (*del)(struct git_config_backend *, const char *key);