summaryrefslogtreecommitdiffstats
path: root/tools/h5toh4.h
blob: d2680608965f0e5f7bcfa7e679e112b90fc29218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * 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