about summary refs log tree commit diff
path: root/misc/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/stream.h')
-rw-r--r--misc/stream.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/stream.h b/misc/stream.h
index 0b2e9c2..0b5b7aa 100644
--- a/misc/stream.h
+++ b/misc/stream.h
@@ -18,12 +18,9 @@ struct bt_stream {
 
 int bts_open(struct bt_stream **res, unsigned nfiles, struct mi_file *files,
     fdcb_t fd_cb, void *fd_arg);
+int bts_close(struct bt_stream *bts);
 int bts_get(struct bt_stream *bts, off_t off, uint8_t *buf, size_t len);
 int bts_put(struct bt_stream *bts, off_t off, const uint8_t *buf, size_t len);
-int bts_close(struct bt_stream *bts);
-
 int bts_sha(struct bt_stream *bts, off_t start, off_t length, uint8_t *hash);
-int bts_hashes(struct metainfo *meta, fdcb_t fd_cb, hashcb_t hash_cb,
-    void *arg);
 
 #endif