summaryrefslogtreecommitdiff
path: root/src/idxmap.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-12-01 10:54:57 +0100
committerPatrick Steinhardt <ps@pks.im>2019-02-15 13:16:49 +0100
commitdf42f3689bb9345438fba18178f8e4fc61e631dd (patch)
tree0aa5caa80e20e52b9d9ad99de0445fb02bc61a0a /src/idxmap.h
parentbd66925a615f3adaf803455693b0b0c79a50ea4c (diff)
downloadlibgit2-df42f3689bb9345438fba18178f8e4fc61e631dd.tar.gz
idxmap: remove legacy low-level interface
Remove the low-level interface that was exposing implementation details of `git_idxmap` to callers. From now on, only the high-level functions shall be used to retrieve or modify values of a map. Adjust remaining existing callers.
Diffstat (limited to 'src/idxmap.h')
-rw-r--r--src/idxmap.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/idxmap.h b/src/idxmap.h
index ce9f084ef..76170ef32 100644
--- a/src/idxmap.h
+++ b/src/idxmap.h
@@ -174,18 +174,4 @@ int git_idxmap_delete(git_idxmap *map, const git_index_entry *key);
*/
int git_idxmap_icase_delete(git_idxmap_icase *map, const git_index_entry *key);
-void git_idxmap_insert(git_idxmap *map, const git_index_entry *key, void *value, int *rval);
-void git_idxmap_icase_insert(git_idxmap_icase *map, const git_index_entry *key, void *value, int *rval);
-
-size_t git_idxmap_lookup_index(git_idxmap *map, const git_index_entry *key);
-size_t git_idxmap_icase_lookup_index(git_idxmap_icase *map, const git_index_entry *key);
-void *git_idxmap_value_at(git_idxmap *map, size_t idx);
-int git_idxmap_valid_index(git_idxmap *map, size_t idx);
-int git_idxmap_icase_valid_index(git_idxmap_icase *map, size_t idx);
-int git_idxmap_has_data(git_idxmap *map, size_t idx);
-int git_idxmap_icase_has_data(git_idxmap_icase *map, size_t idx);
-
-void git_idxmap_delete_at(git_idxmap *map, size_t idx);
-void git_idxmap_icase_delete_at(git_idxmap_icase *map, size_t idx);
-
#endif