aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-12 16:22:25 +0200
committerThomas White <taw@physics.org>2021-05-12 17:14:46 +0200
commit0fd2a367d1ba017d0c1cb112a648b71c4e355f78 (patch)
tree0114a7f0b6f03324981682a0858211f29fd89536 /libcrystfel/src/image-hdf5.h
parent3a3401dfe7a7fedd5f133dd5a7b416e869f6be89 (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-hdf5.h')
-rw-r--r--libcrystfel/src/image-hdf5.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/image-hdf5.h b/libcrystfel/src/image-hdf5.h
index 4c36cf89..239bb20d 100644
--- a/libcrystfel/src/image-hdf5.h
+++ b/libcrystfel/src/image-hdf5.h
@@ -34,10 +34,8 @@
#include "datatemplate_priv.h"
-extern double image_hdf5_get_value(const char *from,
- const char *filename,
- const char *ev,
- char *type);
+extern int image_hdf5_read_header_to_cache(struct image *image,
+ const char *name);
extern int image_hdf5_read(struct image *image,
const DataTemplate *dtempl,