diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-03-31 17:34:15 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-05 18:03:55 +0200 |
commit | 4a36677bacc10e5fbd5905ea9751f1a6603250f7 (patch) | |
tree | 038a504bf242f997b77b0b5042d11cd831582b8d /libcrystfel/src/hdf5-file.h | |
parent | f5513fcb51d0d027bb7d5e1e2db95fae480c3a86 (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.h | 4 |
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); |