diff options
author | Thomas White <taw@physics.org> | 2020-05-28 14:34:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | c5424abc8fccfa6b205db45f0ae2d64a362f01f5 (patch) | |
tree | 98b6a331c27481b8648faa62733f26a50919897e /libcrystfel/src/stream.h | |
parent | ab352f28b1c9d2691e4f39730b0ad5adf056426b (diff) |
Convert stream to DataTemplate
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index 18a983c9..0a726bfb 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -41,9 +41,8 @@ */ struct image; -struct hdfile; -struct event; -struct imagefile; + +#include "datatemplate.h" #include "cell.h" #define GEOM_START_MARKER "----- Begin geometry file -----" @@ -116,12 +115,13 @@ extern void close_stream(Stream *st); extern void free_stuff_from_stream(struct stuff_from_stream *sfs); -extern int read_chunk(Stream *st, struct image *image); -extern int read_chunk_2(Stream *st, struct image *image, - StreamReadFlags srf); +extern int read_chunk(Stream *st, struct image *image, + const DataTemplate *dtempl, + StreamReadFlags srf); extern int stream_has_old_indexers(Stream *st); extern int write_chunk(Stream *st, struct image *image, + const DataTemplate *dtempl, int include_peaks, int include_reflections); extern void write_command(Stream *st, int argc, char *argv[]); |