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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h
index 9340ca0d..4d561cd2 100644
--- a/libcrystfel/src/stream.h
+++ b/libcrystfel/src/stream.h
@@ -42,6 +42,8 @@ typedef struct _stream Stream;
extern Stream *open_stream_for_read(const char *filename);
extern Stream *open_stream_for_write(const char *filename);
+extern Stream *open_stream_fd_for_write(int fd);
+
extern void close_stream(Stream *st);
extern void write_chunk(Stream *st, struct image *image, struct hdfile *hdfile,