From f2de0f8e9a8c520125bbffb13fc11f6fdfc8a1dd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 8 Jun 2020 14:20:14 +0200 Subject: Add is_hdf5_file Avoids using HDF5 API calls all over the code --- libcrystfel/src/image-hdf5.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/image-hdf5.h') diff --git a/libcrystfel/src/image-hdf5.h b/libcrystfel/src/image-hdf5.h index 93f887e6..84a53d99 100644 --- a/libcrystfel/src/image-hdf5.h +++ b/libcrystfel/src/image-hdf5.h @@ -64,4 +64,6 @@ extern ImageFeatureList *image_hdf5_read_peaks_hdf5(const DataTemplate *dtempl, extern struct event_list *image_hdf5_expand_frames(const DataTemplate *dtempl, const char *filename); +extern int is_hdf5_file(const char *filename); + #endif /* IMAGE_HDF5_H */ -- cgit v1.2.3