diff options
author | Thomas White <taw@physics.org> | 2011-10-13 14:16:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:39 +0100 |
commit | 42d10caabdb9fa5f1fb3dcb8223236458ed003af (patch) | |
tree | 03dd4e6fadfc3717e5b5092debeb62db64347399 /src/hdf5-file.h | |
parent | d8a4f7509d0b5937bc56441e77e9343c84a3b38b (diff) |
indexamajig: Add --copy-hdf5-field option for copying something to the HDF5 file
Diffstat (limited to 'src/hdf5-file.h')
-rw-r--r-- | src/hdf5-file.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hdf5-file.h b/src/hdf5-file.h index c0431dc6..811bfb1f 100644 --- a/src/hdf5-file.h +++ b/src/hdf5-file.h @@ -23,6 +23,8 @@ struct hdfile; +struct copy_hdf5_field; + extern int hdf5_write(const char *filename, const void *data, int width, int height, int type); @@ -42,4 +44,11 @@ extern char *hdfile_get_string_value(struct hdfile *f, const char *name); extern int get_peaks(struct image *image, struct hdfile *f, const char *p); extern double get_value(struct hdfile *f, const char *name); +extern struct copy_hdf5_field *new_copy_hdf5_field_list(void); +extern void copy_hdf5_fields(struct hdfile *f, + const struct copy_hdf5_field *copyme, FILE *fh); +extern void add_copy_hdf5_field(struct copy_hdf5_field *copyme, + const char *name); + + #endif /* HDF5_H */ |