summaryrefslogtreecommitdiff
path: root/include/git2/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/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/config.h')
-rw-r--r--include/git2/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index 43bc19412..a0dc11bb1 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -328,7 +328,7 @@ GIT_EXTERN(int) git_config_get_bool(int *out, const git_config *cfg, const char
GIT_EXTERN(int) git_config_get_string(const char **out, const git_config *cfg, const char *name);
/**
- * Get each value of a multivar.
+ * Get each value of a multivar in a foreach callback
*
* The callback will be called on each variable found
*
@@ -339,7 +339,7 @@ GIT_EXTERN(int) git_config_get_string(const char **out, const git_config *cfg, c
* @param callback the function to be called on each value of the variable
* @param payload opaque pointer to pass to the callback
*/
-GIT_EXTERN(int) git_config_get_multivar(const git_config *cfg, const char *name, const char *regexp, git_config_foreach_cb callback, void *payload);
+GIT_EXTERN(int) git_config_get_multivar_foreach(const git_config *cfg, const char *name, const char *regexp, git_config_foreach_cb callback, void *payload);
/**
* Set the value of an integer config variable in the config file