diff options
author | Thomas White <taw@physics.org> | 2020-07-02 16:28:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:44 +0200 |
commit | 7476427420727c4b54ec97e26490e63137c33a74 (patch) | |
tree | 3c906a5f73a936c95ed437fde752e585d0e759dd /libcrystfel/src/stream.h | |
parent | 518414e0a3d248bbc182da69308144b79d646510 (diff) |
Random access Stream API
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index 43881ecf..b086a1b6 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -116,6 +116,10 @@ extern char *stream_geometry_file(Stream *st); extern int stream_get_fd(Stream *st); extern int stream_rewind(Stream *st); +/* Random access */ +extern int stream_scan_chunks(Stream *st); +extern int stream_select_chunk(Stream *st, int chunk_number); + /* Read/write chunks */ extern struct image *stream_read_chunk(Stream *st, const DataTemplate *dtempl, |