Mercurial > hg > minc-tools
changeset 1795:3bd9c2185354
Various endian-ness fixes, include minc_private.h
author | bert <bert> |
---|---|
date | Fri, 04 Jun 2004 18:04:29 +0000 |
parents | c1503b19d4dc |
children | 9b17d0898630 |
files | libsrc2/minc2_private.h |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libsrc2/minc2_private.h +++ b/libsrc2/minc2_private.h @@ -103,7 +103,8 @@ mi_lin_xfm_t w2v_transform; /* World-to-voxel transform (inverse) */ int selected_resolution; /* The current resolution (0-N) */ int mode; /* Open mode */ - hid_t type_id; /* Type ID if record or label type. */ + hid_t ftype_id; /* File type ID of image. */ + hid_t mtype_id; /* Memory type ID of image. */ hid_t plist_id; /* Image property list */ hid_t image_id; /* Dataset for image */ hid_t imax_id; /* Dataset for image-max */ @@ -119,7 +120,7 @@ ****************************************************************************/ /* From m2util.c */ extern hid_t midescend_path(hid_t file_id, const char *path); -extern hid_t mitype_to_hdftype(mitype_t); +extern hid_t mitype_to_hdftype(mitype_t, int); extern int mitype_to_nctype(mitype_t, int *is_signed); extern int miget_attribute(mihandle_t volume, const char *varpath, @@ -160,7 +161,6 @@ extern void misave_valid_range(mihandle_t volume); /* External */ -extern int hdf_var_declare(int fd, char *varnm, char *varpath, int ndims, hsize_t *sizes); -extern int hdf_create(const char *path, int cmode); -extern int hdf_open(const char *path, int mode); +#include "../libsrc/minc_private.h" +