diff options
author | yorah <yoram.harmelin@gmail.com> | 2012-09-10 12:11:02 +0200 |
---|---|---|
committer | yorah <yoram.harmelin@gmail.com> | 2012-10-23 12:48:38 +0200 |
commit | a1abe66aca3625eec1cabb2e93cf8df0be1b63f0 (patch) | |
tree | 17de8c31afbdb3398a391e1fcede5010394dec85 /src/config.h | |
parent | f8ede94808348ac12db1d5dd91e5f66624d8b40d (diff) | |
download | libgit2-a1abe66aca3625eec1cabb2e93cf8df0be1b63f0.tar.gz |
Add config level support in the config API
Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found.
Added `git_config_open_level`: build a single-level focused config object from a multi-level one.
We are now storing `git_config_entry`s in the khash of the config_file
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h index 471b42dad..16b8413b7 100644 --- a/src/config.h +++ b/src/config.h @@ -27,9 +27,4 @@ extern int git_config_find_global_r(git_buf *global_config_path); extern int git_config_find_xdg_r(git_buf *system_config_path); extern int git_config_find_system_r(git_buf *system_config_path); -extern int git_config_parse_bool(int *out, const char *bool_string); - -extern int git_config_lookup_map_value( - git_cvar_map *maps, size_t map_n, const char *value, int *out); - #endif |