diff options
author | Thomas White <taw@physics.org> | 2021-05-12 16:22:25 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-05-12 17:14:46 +0200 |
commit | 0fd2a367d1ba017d0c1cb112a648b71c4e355f78 (patch) | |
tree | 0114a7f0b6f03324981682a0858211f29fd89536 /libcrystfel/src/image-cbf.c | |
parent | 3a3401dfe7a7fedd5f133dd5a7b416e869f6be89 (diff) |
Rework header caching layer
This clears up multiple layering violations which were starting to get
in the way. It enables "string" headers to be stored directly, and it
will make it much simpler to add new header types in the future.
Along the way, this changes all the floating point header stuff to use
double precision. This is needed for EuXFEL event IDs.
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/34
Diffstat (limited to 'libcrystfel/src/image-cbf.c')
-rw-r--r-- | libcrystfel/src/image-cbf.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcrystfel/src/image-cbf.c b/libcrystfel/src/image-cbf.c index 2ea5f0a5..19b38607 100644 --- a/libcrystfel/src/image-cbf.c +++ b/libcrystfel/src/image-cbf.c @@ -630,3 +630,13 @@ int image_cbf_read(struct image *image, return 0; } + + +int image_cbf_read_header_to_cache(struct image *image, + const char *from) +{ + /* FIXME: Implementation + * https://gitlab.desy.de/thomas.white/crystfel/-/issues/10 */ + ERROR("Reading headers from CBF files is not currently supported.\n"); + return 1; +} |