diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-14 00:45:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-14 00:45:05 +0200 |
| commit | f4be8209afd3cc996667196a1e437aac21485691 (patch) | |
| tree | 9501c07058c7a1b6b8cafc3208346e80274e46cb /include/git2/sys | |
| parent | 43e5dda70249ede020a57f3888356a0dcb96da48 (diff) | |
| download | libgit2-f4be8209afd3cc996667196a1e437aac21485691.tar.gz | |
config: don't special-case the multivar iterator
Build it on top of the normal iterator instead, which lets use re-use
a lot of code.
Diffstat (limited to 'include/git2/sys')
| -rw-r--r-- | include/git2/sys/config.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/git2/sys/config.h b/include/git2/sys/config.h index e369fb8ab..7572ace51 100644 --- a/include/git2/sys/config.h +++ b/include/git2/sys/config.h @@ -58,8 +58,6 @@ 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_foreach)(struct git_config_backend *, const char *key, const char *regexp, git_config_foreach_cb callback, void *payload); - int (*get_multivar)(git_config_iterator **, struct git_config_backend *, const char *name, const char *regexp); 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); |
