diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-11-24 15:25:12 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-11-24 16:05:16 +0100 |
commit | 67cc5f23e11cec85747fb770fbca24b541b4bfde (patch) | |
tree | 61dc71a2f00f9ad1f928e27c55427af825653db5 /libcrystfel/src/stream.h | |
parent | 225f2f78c0f0606ec3b1d305ff084df950b0c6f5 (diff) |
Fixed stream I/O across different versions
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index e98ee02d..43e45923 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -91,10 +91,12 @@ extern int get_stream_fd(Stream *st); extern void close_stream(Stream *st); extern int read_chunk(Stream *st, struct image *image); -extern int read_chunk_2(Stream *st, struct image *image, StreamReadFlags srf); -extern void write_chunk(Stream *st, struct image *image, struct hdfile *hdfile, - int include_peaks, int include_reflections, - struct event *ev); +extern int read_chunk_2(Stream *st, struct image *image, + StreamReadFlags srf); + +extern int write_chunk(Stream *st, struct image *image, struct hdfile *hdfile, + int include_peaks, int include_reflections, + struct event *ev); extern void write_command(Stream *st, int argc, char *argv[]); extern void write_geometry_file(Stream *st, const char *geom_filename); |