aboutsummaryrefslogtreecommitdiff
path: root/streaming.h
diff options
context:
space:
mode:
Diffstat (limited to 'streaming.h')
-rw-r--r--streaming.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/streaming.h b/streaming.h
index bd27f59e57..f5ff5d7ac9 100644
--- a/streaming.h
+++ b/streaming.h
@@ -7,14 +7,14 @@
#include "object.h"
/* opaque */
-struct git_istream;
+struct odb_read_stream;
struct stream_filter;
-struct git_istream *open_istream(struct repository *, const struct object_id *,
- enum object_type *, unsigned long *,
- struct stream_filter *);
-int close_istream(struct git_istream *);
-ssize_t read_istream(struct git_istream *, void *, size_t);
+struct odb_read_stream *open_istream(struct repository *, const struct object_id *,
+ enum object_type *, unsigned long *,
+ struct stream_filter *);
+int close_istream(struct odb_read_stream *);
+ssize_t read_istream(struct odb_read_stream *, void *, size_t);
int stream_blob_to_fd(int fd, const struct object_id *, struct stream_filter *, int can_seek);