diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2015-01-26 16:34:46 +0100 |
---|---|---|
committer | valerio.mariani@desy.de <vmariani@cfeld-valerio2.desy.de> | 2015-01-27 14:11:47 +0100 |
commit | 88cd2cfd80838dd57cf607ac0fa752665cae4c14 (patch) | |
tree | 041b82409216b639a90828f20c0f5a72b33a2270 /libcrystfel/src/stream.h | |
parent | e406fe80b9c504de80308393fc09fa139dcc40a8 (diff) |
Keep hold of HDF5 fields which came from the stream
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index 43e45923..afa9acda 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -77,6 +77,12 @@ typedef enum { } StreamReadFlags; +struct stuff_from_stream +{ + char **fields; + int n_fields; +}; + #ifdef __cplusplus extern "C" { #endif @@ -103,6 +109,9 @@ extern void write_geometry_file(Stream *st, const char *geom_filename); extern int rewind_stream(Stream *st); extern int is_stream(const char *filename); +extern double extract_f_from_stuff(const char *field_name, + struct stuff_from_stream* stuff); + #ifdef __cplusplus } #endif |