diff options
Diffstat (limited to 'misc/stream.c')
| -rw-r--r-- | misc/stream.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/stream.c b/misc/stream.c index 4c51d96..9fcfd81 100644 --- a/misc/stream.c +++ b/misc/stream.c @@ -178,3 +178,9 @@ bts_sha(struct bt_stream *bts, off_t start, off_t length, uint8_t *hash) SHA1_Final(hash, &ctx); return err; } + +const char * +bts_filename(struct bt_stream *bts) +{ + return bts->files[bts->index].path; +} |