aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-08 14:20:14 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commitf2de0f8e9a8c520125bbffb13fc11f6fdfc8a1dd (patch)
tree20a589e260e6dd83fa40fa9248ee07f6770079ed /libcrystfel/src/image-hdf5.h
parent78917049b09ece78834d6309eb3f035e83537d1d (diff)
Add is_hdf5_file
Avoids using HDF5 API calls all over the code
Diffstat (limited to 'libcrystfel/src/image-hdf5.h')
-rw-r--r--libcrystfel/src/image-hdf5.h2
1 files changed, 2 insertions, 0 deletions
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 */