hdf5/tools/h5toh4.h
Quincey Koziol 35bc545296 [svn-r3252] Purpose:
Code cleanup.
Description:
    Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the
    extra warnings.  Including a few show-stoppers for compression on IRIX
    machines.
Solution:
    Changed lots of variables' types to more sensible and consistent types,
    more range-checking, more variable typecasts, etc.
Platforms tested:
    FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
2001-01-09 16:22:30 -05:00

44 lines
768 B
C

/*
* Copyright © 1998 NCSA
* All rights reserved.
*
* Programmer: Paul Harten <pharten@ncsa.uiuc.edu>
* Friday, October 16th, 1998
*
* Purpose: Convert H5 files to H4 files.
*/
#ifndef _H5TOH4_H
#define _H5TOH4_H
#include "hdf.h"
#include "mfhdf.h"
#include "hdf5.h"
#ifdef H5_HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
typedef struct op_data_t {
/*
* information being carried between iterations.
*
*/
int32 hfile_id;
int32 vgroup_id;
int32 sd_id;
int32 sds_id;
int32 vdata_id;
int32 obj_idx;
} op_data_t;
#ifdef H5TOH4_DEBUG
#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr,s1,s2,s3,n1) )
#else
#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr," ") )
#endif
#endif