aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.h
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-03-31 17:34:15 +0200
committerThomas White <taw@physics.org>2014-09-05 18:03:55 +0200
commit4a36677bacc10e5fbd5905ea9751f1a6603250f7 (patch)
tree038a504bf242f997b77b0b5042d11cd831582b8d /libcrystfel/src/hdf5-file.h
parentf5513fcb51d0d027bb7d5e1e2db95fae480c3a86 (diff)
Moved opening of file inside hdf5_read function for better encapsulation
Diffstat (limited to 'libcrystfel/src/hdf5-file.h')
-rw-r--r--libcrystfel/src/hdf5-file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/hdf5-file.h b/libcrystfel/src/hdf5-file.h
index 2e24a039..7aa76982 100644
--- a/libcrystfel/src/hdf5-file.h
+++ b/libcrystfel/src/hdf5-file.h
@@ -51,9 +51,9 @@ extern int hdf5_write(const char *filename, const void *data,
extern int hdf5_write_image(const char *filename, struct image *image, char *element);
-extern int hdf5_read(struct hdfile *f, struct image *image, const char *element, int satcorr);
+extern int hdf5_read(const char *filename, struct image *image, const char *element, int satcorr);
-extern int hdf5_read2(struct hdfile *f, struct image *image, const char* element, int satcorr, int override_data_and_mask);
+extern int hdf5_read2(const char *filename, struct image *image, const char* element, int satcorr, int override_data_and_mask);
extern struct hdfile *hdfile_open(const char *filename);
extern int hdfile_set_image(struct hdfile *f, const char *path);