summaryrefslogtreecommitdiffstats
path: root/tools/h4toh5main.h
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2000-10-12 22:47:38 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2000-10-12 22:47:38 (GMT)
commit8abdfea352aaebde90c67e4c0657ef866caaab79 (patch)
treed47612916b6ba2951e2046c8ab324a6a63686080 /tools/h4toh5main.h
parentc23193d9de5ba54f166fb468c535c08ed8dc835f (diff)
downloadhdf5-8abdfea352aaebde90c67e4c0657ef866caaab79.zip
hdf5-8abdfea352aaebde90c67e4c0657ef866caaab79.tar.gz
hdf5-8abdfea352aaebde90c67e4c0657ef866caaab79.tar.bz2
[svn-r2674]
Purpose: 1. fix size of dimensional name list so that the size of dimensional name in dumper output will not change because of different versions of hdf library(h4toh5util.h and h4toh5sds.c). 2. fix bzero routine for windows platform(h4toh5util.h,h4toh5util.c,h4toh5anno.c,h4toh5main.c, h4toh5sds.c) Description: 1. change the MAX_DIM_NAME into 276(MAX_NC_NAME +dimension group name) and hopefully we will not expand the size of MAX_NC_NAME(currently 256) for a long time. 2. create a new routine(h4toh5_ZeroMemory) to zero out memory. Use ZeroMemory in windows and bzero at UNIX. Solution: see Description. Platforms tested: LINUX(eirene),WINDOWS 2000, sun 5.6(baldric and arabica),HP-UX11(opus),DEC(gondolin),IRIX 6.5(paz).
Diffstat (limited to 'tools/h4toh5main.h')
-rw-r--r--tools/h4toh5main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/h4toh5main.h b/tools/h4toh5main.h
index 8966011..bac5baf 100644
--- a/tools/h4toh5main.h
+++ b/tools/h4toh5main.h
@@ -1,9 +1,12 @@
+#ifndef H4TOH5MAIN_H
+#define H4TOH5MAIN_H
#include "hdf.h"
#include "mfhdf.h"
#include "hdf5.h"
#include "h4toh5util.h"
#include <fcntl.h>
#include <errno.h>
+
/* subroutines adapted from h5toh4 tools and used for h4toh5main.c */
void PrintOptions_h4toh5(void);
int test_file(char *filename,int oflag,mode_t mode);
@@ -54,3 +57,10 @@ int Annoobj_h4_to_h5(int32,int32,int32,hid_t);
/*subroutines for h4toh5pal.c*/
int Palette_h4_to_h5(int32,int32 ,hid_t,char *);
+#endif
+
+
+
+
+
+