]>
Commit | Line | Data |
---|---|---|
46bf0438 JH |
1 | /* |
2 | * Copyright (c) 2011, Google Inc. | |
3 | */ | |
4 | #ifndef STREAMING_H | |
5 | #define STREAMING_H 1 | |
a6dc3d36 EN |
6 | |
7 | #include "object.h" | |
46bf0438 JH |
8 | |
9 | /* opaque */ | |
10 | struct git_istream; | |
a6dc3d36 | 11 | struct stream_filter; |
46bf0438 | 12 | |
c8123e72 MT |
13 | struct git_istream *open_istream(struct repository *, const struct object_id *, |
14 | enum object_type *, unsigned long *, | |
15 | struct stream_filter *); | |
55454427 DL |
16 | int close_istream(struct git_istream *); |
17 | ssize_t read_istream(struct git_istream *, void *, size_t); | |
46bf0438 | 18 | |
55454427 | 19 | int stream_blob_to_fd(int fd, const struct object_id *, struct stream_filter *, int can_seek); |
47a02ff2 | 20 | |
46bf0438 | 21 | #endif /* STREAMING_H */ |