From 0fd2a367d1ba017d0c1cb112a648b71c4e355f78 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 12 May 2021 16:22:25 +0200 Subject: 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 --- libcrystfel/src/image-cbf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcrystfel/src/image-cbf.h') diff --git a/libcrystfel/src/image-cbf.h b/libcrystfel/src/image-cbf.h index ca79a1a3..f6936981 100644 --- a/libcrystfel/src/image-cbf.h +++ b/libcrystfel/src/image-cbf.h @@ -53,4 +53,7 @@ extern int image_cbf_read_mask(struct panel_template *p, int gz, int *bad, int mask_good, int mask_bad); +extern int image_cbf_read_header_to_cache(struct image *image, + const char *from); + #endif /* IMAGE_CBF_H */ -- cgit v1.2.3