aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r--libcrystfel/src/stream.h4
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,