summaryrefslogtreecommitdiffstats
path: root/tools/src/h5import/h5import.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-06-15 17:19:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-06-15 17:19:46 (GMT)
commitc288898630149fe913525341fff13bde9f02d80b (patch)
tree590dfba6569283dc57d2eeae9ecd7d41705d9a3b /tools/src/h5import/h5import.h
parentc73b30716e5d7d371182943d5fbe16ff0c78e30b (diff)
downloadhdf5-c288898630149fe913525341fff13bde9f02d80b.zip
hdf5-c288898630149fe913525341fff13bde9f02d80b.tar.gz
hdf5-c288898630149fe913525341fff13bde9f02d80b.tar.bz2
HDFFV-10219 - fix for native in bin file and possible non-native in h5
Diffstat (limited to 'tools/src/h5import/h5import.h')
-rw-r--r--tools/src/h5import/h5import.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/src/h5import/h5import.h b/tools/src/h5import/h5import.h
index c69a542..b27b944 100644
--- a/tools/src/h5import/h5import.h
+++ b/tools/src/h5import/h5import.h
@@ -37,7 +37,7 @@
#define MAX_GROUPS_IN_PATH 20
#define MAX_PATH_NAME_LENGTH 255
-#define NUM_KEYS 14
+#define NUM_KEYS 15
#define MIN_NUM_DIMENSION 1
#define MAX_NUM_DIMENSION 32
#define BASE_10 10
@@ -56,6 +56,7 @@
#define COMPRESS_PARAM 11
#define EXTERNALSTORE 12
#define EXTEND 13
+#define INPUT_B_ORDER 14
/* data types */
#define H5DT_INT8 signed char
@@ -82,6 +83,7 @@ struct Input
struct path_info path;
int inputClass;
int inputSize;
+ int inputByteOrder;
int rank;
hsize_t* sizeOfDimension;
int outputClass;
@@ -126,7 +128,8 @@ char keytable[NUM_KEYS][30] = {
"COMPRESSION-TYPE",
"COMPRESSION-PARAM",
"EXTERNAL-STORAGE",
- "MAXIMUM-DIMENSIONS"
+ "MAXIMUM-DIMENSIONS",
+ "INPUT-BYTE-ORDER"
};
static int state_table[15][8] =