diff options
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 |