diff options
Diffstat (limited to 'src/iterator.h')
-rw-r--r-- | src/iterator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iterator.h b/src/iterator.h index aa78c9f29..12eb96bb0 100644 --- a/src/iterator.h +++ b/src/iterator.h @@ -13,6 +13,7 @@ typedef struct git_iterator git_iterator; typedef enum { + GIT_ITERATOR_EMPTY = 0, GIT_ITERATOR_TREE = 1, GIT_ITERATOR_INDEX = 2, GIT_ITERATOR_WORKDIR = 3 @@ -27,6 +28,8 @@ struct git_iterator { void (*free)(git_iterator *); }; +int git_iterator_for_nothing(git_iterator **iter); + int git_iterator_for_tree( git_repository *repo, git_tree *tree, git_iterator **iter); |