about summary refs log tree commit diff
path: root/misc/stream.h
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-09-12 17:33:48 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-09-12 17:33:48 +0000
commit13607e007ae9832dc32252571a2d5b719ba2ac40 (patch)
tree79ee32ccab560c76b15cd87e5eef5e7d08a7589d /misc/stream.h
parent334c94db4691131b11f95e3bce6b5fda70edd3a1 (diff)
downloadbtpd-13607e007ae9832dc32252571a2d5b719ba2ac40.tar.gz
btpd-13607e007ae9832dc32252571a2d5b719ba2ac40.zip
Remove unused function bts_hashes.
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