diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-22 16:41:56 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 16:41:56 +0200 |
commit | 0edad3cc0451a42b566d70f64611acc214a03022 (patch) | |
tree | 9a7c4c7e7ab0be366df168b7f1750f58b8bd86ae /include/git2/indexer.h | |
parent | 4ef2c79cb6dc81e17b68ccf7c270bcc7e4f85bfb (diff) | |
parent | f063a75882769cb6fc652de425ac16ba4b88b616 (diff) | |
download | libgit2-vmg/dupe-odb-backends.tar.gz |
Merge branch 'development' into vmg/dupe-odb-backendsvmg/dupe-odb-backends
Conflicts:
src/odb.c
Diffstat (limited to 'include/git2/indexer.h')
-rw-r--r-- | include/git2/indexer.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/include/git2/indexer.h b/include/git2/indexer.h index dfe6ae5aa..262dcd154 100644 --- a/include/git2/indexer.h +++ b/include/git2/indexer.h @@ -8,31 +8,11 @@ #define _INCLUDE_git_indexer_h__ #include "common.h" +#include "types.h" #include "oid.h" GIT_BEGIN_DECL -/** - * This is passed as the first argument to the callback to allow the - * user to see the progress. - */ -typedef struct git_transfer_progress { - unsigned int total_objects; - unsigned int indexed_objects; - unsigned int received_objects; - size_t received_bytes; -} git_transfer_progress; - - -/** - * Type for progress callbacks during indexing. Return a value less than zero - * to cancel the transfer. - * - * @param stats Structure containing information about the state of the transfer - * @param payload Payload provided by caller - */ -typedef int (*git_transfer_progress_callback)(const git_transfer_progress *stats, void *payload); - typedef struct git_indexer_stream git_indexer_stream; /** |