51 #define DFMT_SUN 0x1111 52 #define DFMT_SUN_INTEL 0x4441 53 #define DFMT_ALLIANT 0x1111 54 #define DFMT_IRIX 0x1111 55 #define DFMT_APOLLO 0x1111 56 #define DFMT_IBM6000 0x1111 57 #define DFMT_HP9000 0x1111 58 #define DFMT_CONVEXNATIVE 0x5511 59 #define DFMT_CONVEX 0x1111 60 #define DFMT_UNICOS 0x3331 61 #define DFMT_UNICOSIEEE 0x1831 62 #define DFMT_CTSS 0x3331 63 #define DFMT_VAX 0x2221 64 #define DFMT_MIPSEL 0x4441 65 #define DFMT_PC 0x4441 66 #define DFMT_APPLE 0x1111 67 #define DFMT_APPLE_INTEL 0x4441 68 #define DFMT_MAC 0x1111 69 #define DFMT_SUN386 0x4441 70 #define DFMT_NEXT 0x1111 71 #define DFMT_MOTOROLA 0x1111 72 #define DFMT_ALPHA 0x4441 73 #define DFMT_VP 0x6611 74 #define DFMT_I860 0x4441 75 #define DFMT_IA64 0x4441 76 #define DFMT_LINUX64 0x4441 77 #define DFMT_POWERPC64 0x1111 106 #if (defined(SUN) || defined(sun) || defined(__sun__) || defined(__SUNPRO_C)) & !defined(__i386) 121 If you
get an error on
this line more than one machine
type has been defined.
122 Please check your Makefile.
127 #include <sys/time.h> 128 #include <sys/file.h> 129 #include <sys/stat.h> 130 #if (defined __sun) && (defined __amd64 || defined __i386) 131 #define DF_MT DFMT_SUN_INTEL 133 #define DF_MT DFMT_SUN 139 typedef unsigned char uchar8;
141 typedef unsigned char uint8;
142 typedef short int int16;
143 typedef unsigned short int uint16;
146 typedef unsigned int uint32;
148 typedef long int int32;
149 typedef unsigned long int uint32;
152 typedef unsigned int uintn;
154 typedef float float32;
155 typedef double float64;
157 typedef long hdf_pint_t;
159 typedef int hdf_pint_t;
161 #define FNAME_POST_UNDERSCORE 162 #define _fcdtocp(desc) (desc) 163 #define FILELIB UNIXBUFIO 170 #define JMEMSYS MEM_ANSI 172 #define INCLUDES_ARE_ANSI 183 If you
get an error on
this line more than one machine
type has been defined.
184 Please check your Makefile.
194 #include <sys/file.h> 195 #include <sys/stat.h> 196 #define DF_MT DFMT_SUN 201 typedef unsigned char uchar8;
203 typedef unsigned char uint8;
204 typedef short int int16;
205 typedef unsigned short int uint16;
206 typedef long int int32;
207 typedef unsigned long int uint32;
209 typedef unsigned int uintn;
211 typedef float float32;
212 typedef double float64;
213 typedef int hdf_pint_t;
214 #define FNAME_POST_UNDERSCORE 215 #define _fcdtocp(desc) (desc) 216 #define FILELIB UNIXBUFIO 223 #define JMEMSYS MEM_ANSI 227 #define INCLUDES_ARE_ANSI 233 #if defined(IBM6000) || defined(_AIX) 240 If you
get an error on
this line more than one machine
type has been defined.
241 Please check your Makefile.
250 #include <sys/file.h> 251 #include <sys/stat.h> 252 #define DF_MT DFMT_IBM6000 258 typedef short int int16;
262 typedef unsigned char uchar8;
263 typedef unsigned char uint8;
264 typedef unsigned short int uint16;
265 typedef unsigned int uint32;
267 typedef unsigned int uintn;
268 typedef float float32;
269 typedef double float64;
272 typedef long hdf_pint_t;
274 typedef int hdf_pint_t;
276 #define _fcdtocp(desc) (desc) 277 #define FILELIB UNIXBUFIO 284 #define JMEMSYS MEM_ANSI 287 #define INCLUDES_ARE_ANSI 291 #if defined(HP9000) || (!defined(__convexc__) && (defined(hpux) || defined(__hpux))) 298 If you
get an error on
this line more than one machine
type has been defined.
299 Please check your Makefile.
303 #ifndef HAVE_UNISTD_H 304 #define HAVE_UNISTD_H 311 #include <sys/file.h> 312 #include <sys/stat.h> 313 #define DF_MT DFMT_HP9000 318 typedef unsigned char uchar8;
320 typedef unsigned char uint8;
321 typedef short int int16;
322 typedef unsigned short int uint16;
325 typedef unsigned int uint32;
327 typedef long int int32;
328 typedef unsigned long int uint32;
331 typedef unsigned int uintn;
332 typedef float float32;
333 typedef double float64;
336 typedef long hdf_pint_t;
338 typedef int hdf_pint_t;
340 #define _fcdtocp(desc) (desc) 341 #define FILELIB UNIXBUFIO 348 #define JMEMSYS MEM_ANSI 353 #if defined(IRIX) || defined(IRIS4) || defined(sgi) || defined(__sgi__) || defined(__sgi) 359 #if (_MIPS_SZLONG == 64) 368 If you
get an error on
this line more than one machine
type has been defined.
369 Please check your Makefile.
371 #define GOT_MACHINE 1 384 #include <sys/file.h> 385 #include <sys/stat.h> 386 #define DF_MT DFMT_IRIX 390 typedef signed char char8;
391 typedef unsigned char uchar8;
392 typedef signed char int8;
393 typedef unsigned char uint8;
394 typedef short int int16;
395 typedef unsigned short int uint16;
397 typedef unsigned int uint32;
399 typedef unsigned int uintn;
400 typedef float float32;
401 typedef double float64;
403 typedef long hdf_pint_t;
404 #define FNAME_POST_UNDERSCORE 405 #define _fcdtocp(desc) (desc) 406 #define FILELIB UNIXBUFIO 419 #define JMEMSYS MEM_ANSI 422 #define INCLUDES_ARE_ANSI 435 #if ((defined(__QK_USER__)) && (defined(__x86_64__))) 439 #if defined(CONVEX) || defined(CONVEXNATIVE) || defined(__convexc__) 446 If you
get an error on
this line more than one machine
type has been defined.
447 Please check your Makefile.
451 #include <sys/types.h> 452 #include <sys/stat.h> 455 #define DF_MT DFMT_CONVEXNATIVE 457 #define DF_MT DFMT_CONVEX 463 typedef unsigned char uchar8;
465 typedef unsigned char uint8;
466 typedef short int int16;
467 typedef unsigned short int uint16;
468 typedef long int int32;
469 typedef unsigned long int uint32;
471 typedef unsigned int uintn;
472 typedef float float32;
473 typedef double float64;
475 typedef int hdf_pint_t;
476 #define _fcdtocp(desc) (desc) 477 #define FILELIB UNIXBUFIO 484 #define JMEMSYS MEM_ANSI 485 #define RIGHT_SHIFT_IS_UNSIGNED 486 #define INCLUDES_ARE_ANSI 492 #if defined (__APPLE__) 497 #ifdef __LITTLE_ENDIAN__ 498 #define DF_MT DFMT_APPLE_INTEL 500 #define DF_MT DFMT_APPLE 503 If you
get an error on
this line more than one machine
type has been defined.
504 Please check your Makefile.
506 #define GOT_MACHINE 1 512 #include <sys/types.h> 513 #include <sys/file.h> 514 #include <sys/stat.h> 525 typedef unsigned char uchar8;
527 typedef unsigned char uint8;
529 typedef unsigned short uint16;
531 typedef unsigned int uint32;
533 typedef unsigned int uintn;
534 typedef float float32;
535 typedef double float64;
537 typedef long hdf_pint_t;
538 #define _fcdtocp(desc) (desc) 539 #define FILELIB UNIXBUFIO 546 #define JMEMSYS MEM_ANSI 553 #if !(defined (__APPLE__)) 555 #if defined _M_ALPHA || defined _M_X64 || defined _M_IA64 || defined _M_IX86 || defined INTEL86 || defined M_I86 || defined M_I386 || defined DOS386 || defined __i386 || defined UNIX386 || defined i386 560 #if !defined UNIX386 && (defined unix || defined __unix) 564 #if !defined DOS386 && defined M_I386 568 #if defined _WINDOWS || defined _WIN32 572 #if defined WIN386 || defined DOS386 || defined UNIX386 577 If you
get an error on
this line more than one machine
type has been defined.
578 Please check your Makefile.
580 #define GOT_MACHINE 1 582 #if defined _WINDOWS || defined _WIN32 583 #pragma comment( lib, "oldnames" ) 588 #include <sys/types.h> 589 #include <sys/stat.h> 592 #include <sys\types.h> 593 #include <sys\stat.h> 605 #ifndef GMEM_MOVEABLE 612 #define DF_MT DFMT_PC 617 typedef void * VOIDP;
620 typedef unsigned char uchar8;
622 typedef unsigned char uint8;
623 typedef short int int16;
624 typedef unsigned short int uint16;
625 typedef long int int32;
626 typedef unsigned long int uint32;
628 typedef unsigned int uintn;
629 typedef float float32;
630 typedef double float64;
633 typedef long long hdf_pint_t;
635 typedef int hdf_pint_t;
639 #define FNAME_PRE_UNDERSCORE 647 #define FNAME_POST_UNDERSCORE 649 #elif defined INTEL386 652 #define _fcdtocp(desc) (desc) 654 #define FILELIB UNIXBUFIO 661 #define JMEMSYS MEM_ANSI 663 #define INCLUDES_ARE_ANSI 669 #if defined(NEXT) || defined(NeXT) 676 If you
get an error on
this line more than one machine
type has been defined.
677 Please check your Makefile.
681 #define isascii(c) (isprint(c) || iscntrl(c)) 685 #include <sys/file.h> 686 #include <sys/stat.h> 687 #define DF_MT DFMT_NEXT 692 typedef unsigned char uchar8;
694 typedef unsigned char uint8;
695 typedef short int int16;
696 typedef unsigned short int uint16;
697 typedef long int int32;
698 typedef unsigned long int uint32;
700 typedef unsigned int uintn;
702 typedef float float32;
703 typedef double float64;
704 typedef int hdf_pint_t;
705 #define FNAME_POST_UNDERSCORE 706 #define _fcdtocp(desc) (desc) 707 #define FILELIB UNIXBUFIO 714 #define JMEMSYS MEM_ANSI 717 #define INCLUDES_ARE_ANSI 722 #if defined(MOTOROLA) || defined(m88k) 725 If you
get an error on
this line more than one machine
type has been defined.
726 Please check your Makefile.
734 #include <sys/file.h> 735 #include <sys/stat.h> 739 #define DF_MT DFMT_MOTOROLA 744 typedef unsigned char uchar8;
746 typedef unsigned char uint8;
747 typedef short int int16;
748 typedef unsigned short int uint16;
749 typedef long int int32;
750 typedef unsigned long int uint32;
752 typedef unsigned int uintn;
754 typedef float float32;
755 typedef double float64;
756 typedef int hdf_pint_t;
757 #define FNAME_POST_UNDERSCORE 758 #define _fcdtocp(desc) (desc) 759 #define FILELIB UNIXBUFIO 766 #define JMEMSYS MEM_ANSI 771 #if defined DEC_ALPHA || (defined __alpha && defined __unix__) 778 If you
get an error on
this line more than one machine
type has been defined.
779 Please check your Makefile.
783 #include <sys/file.h> 784 #include <sys/stat.h> 785 #define DF_MT DFMT_ALPHA 790 typedef unsigned char uchar8;
792 typedef unsigned char uint8;
793 typedef short int int16;
794 typedef unsigned short int uint16;
795 #ifndef __rpc_types_h 797 typedef unsigned int uint32;
800 typedef unsigned int uintn;
802 typedef float float32;
803 typedef double float64;
804 typedef long hdf_pint_t;
805 #define FNAME_POST_UNDERSCORE 806 #define _fcdtocp(desc) (desc) 807 #define FILELIB UNIXBUFIO 814 #define JMEMSYS MEM_ANSI 818 #define INCLUDES_ARE_ANSI 824 #if defined VP | defined __uxpm__ 831 If you
get an error on
this line more than one machine
type has been defined.
832 Please check your Makefile.
834 #define GOT_MACHINE 1 837 #include <sys/types.h> 838 #include <sys/stat.h> 839 #define DF_MT DFMT_VP 844 typedef unsigned char uchar8;
846 typedef unsigned char uint8;
847 typedef short int int16;
848 typedef unsigned short int uint16;
849 typedef long int int32;
850 typedef unsigned long int uint32;
852 typedef unsigned int uintn;
854 typedef float float32;
855 typedef double float64;
856 typedef int hdf_pint_t;
857 #define FNAME_POST_UNDERSCORE 858 #define _fcdtocp(desc) (desc) 859 #define FILELIB UNIXBUFIO 866 #define JMEMSYS MEM_ANSI 871 #if defined I860 | defined i860 878 If you
get an error on
this line more than one machine
type has been defined.
879 Please check your Makefile.
881 #define GOT_MACHINE 1 883 #include <sys/types.h> 884 #include <sys/file.h> 885 #include <sys/stat.h> 887 #define DF_MT DFMT_I860 892 typedef unsigned char uchar8;
894 typedef unsigned char uint8;
896 typedef unsigned short uint16;
898 typedef unsigned int uint32;
900 typedef unsigned int uintn;
901 typedef float float32;
902 typedef double float64;
904 typedef int hdf_pint_t;
905 #define _fcdtocp(desc) (desc) 906 #define FNAME_POST_UNDERSCORE 907 #define FILELIB UNIXBUFIO 914 #define JMEMSYS MEM_ANSI 921 #if defined __powerpc64__ 924 If you
get an error on
this line more than one machine
type has been defined.
925 Please check your Makefile.
929 #include <sys/file.h> 930 #include <sys/stat.h> 931 #define DF_MT DFMT_POWERPC64 936 typedef unsigned char uchar8;
938 typedef unsigned char uint8;
939 typedef short int int16;
940 typedef unsigned short int uint16;
942 typedef unsigned int uint32;
944 typedef unsigned int uintn;
946 typedef float float32;
947 typedef double float64;
948 typedef long hdf_pint_t;
950 #define FNAME_POST_UNDERSCORE 952 #define _fcdtocp(desc) (desc) 953 #define FILELIB UNIXBUFIO 960 #define JMEMSYS MEM_ANSI 964 #define INCLUDES_ARE_ANSI 970 #if defined(__linux__) && defined __x86_64__ && !(defined SUN) 973 If you
get an error on
this line more than one machine
type has been defined.
974 Please check your Makefile.
978 #include <sys/file.h> 979 #include <sys/stat.h> 980 #define DF_MT DFMT_LINUX64 985 typedef unsigned char uchar8;
987 typedef unsigned char uint8;
988 typedef short int int16;
989 typedef unsigned short int uint16;
991 typedef unsigned int uint32;
993 typedef unsigned int uintn;
995 typedef float float32;
996 typedef double float64;
997 typedef long hdf_pint_t;
998 #define FNAME_POST_UNDERSCORE 999 #define _fcdtocp(desc) (desc) 1000 #define FILELIB UNIXBUFIO 1007 #define JMEMSYS MEM_ANSI 1011 #define INCLUDES_ARE_ANSI 1019 #if defined __FreeBSD__ && defined __x86_64__ 1022 If you
get an error on
this line more than one machine
type has been defined.
1023 Please check your Makefile.
1027 #include <sys/file.h> 1028 #include <sys/stat.h> 1029 #define DF_MT DFMT_LINUX64 1031 typedef void *VOIDP;
1034 typedef unsigned char uchar8;
1036 typedef unsigned char uint8;
1037 typedef short int int16;
1038 typedef unsigned short int uint16;
1040 typedef unsigned int uint32;
1042 typedef unsigned int uintn;
1044 typedef float float32;
1045 typedef double float64;
1046 typedef long hdf_pint_t;
1047 #define FNAME_POST_UNDERSCORE 1048 #define _fcdtocp(desc) (desc) 1049 #define FILELIB UNIXBUFIO 1056 #define JMEMSYS MEM_ANSI 1060 #define INCLUDES_ARE_ANSI 1068 #if defined __ia64 && !(defined(hpux) || defined(__hpux)) 1071 If you
get an error on
this line more than one machine
type has been defined.
1072 Please check your Makefile.
1076 #include <sys/file.h> 1077 #include <sys/stat.h> 1078 #define DF_MT DFMT_IA64 1080 typedef void *VOIDP;
1083 typedef unsigned char uchar8;
1085 typedef unsigned char uint8;
1086 typedef short int int16;
1087 typedef unsigned short int uint16;
1089 typedef unsigned int uint32;
1091 typedef unsigned int uintn;
1093 typedef float float32;
1094 typedef double float64;
1095 typedef long hdf_pint_t;
1096 #define FNAME_POST_UNDERSCORE 1097 #define _fcdtocp(desc) (desc) 1098 #define FILELIB UNIXBUFIO 1105 #define JMEMSYS MEM_ANSI 1109 #define INCLUDES_ARE_ANSI 1115 No machine
type has been defined. Your Makefile needs to have someing like
1116 -DSUN or -DUNICOS in
order for the
HDF internal structures to be defined
1124 # define INT16ENCODE(p, i) \ 1125 { *(p) = (uint8)(((uintn)(i) >> 8) & 0xff); (p)++; \ 1126 *(p) = (uint8)((uintn)(i) & 0xff); (p)++; } 1128 # define UINT16ENCODE(p, i) \ 1129 { *(p) = (uint8)(((uintn)(i) >> 8) & 0xff); (p)++; *(p) = (uint8)((i) & 0xff); (p)++; } 1131 # define INT32ENCODE(p, i) \ 1132 { *(p) = (uint8)(((uint32)(i) >> 24) & 0xff); (p)++; \ 1133 *(p) = (uint8)(((uint32)(i) >> 16) & 0xff); (p)++; \ 1134 *(p) = (uint8)(((uint32)(i) >> 8) & 0xff); (p)++; \ 1135 *(p) = (uint8)((uint32)(i) & 0xff); (p)++; } 1137 # define UINT32ENCODE(p, i) \ 1138 { *(p) = (uint8)(((i) >> 24) & 0xff); (p)++; \ 1139 *(p) = (uint8)(((i) >> 16) & 0xff); (p)++; \ 1140 *(p) = (uint8)(((i) >> 8) & 0xff); (p)++; \ 1141 *(p) = (uint8)((i) & 0xff); (p)++; } 1143 # define NBYTEENCODE(d, s, n) \ 1144 { HDmemcpy(d,s,n); p+=n } 1154 # define INT16DECODE(p, i) \ 1155 { (i) = ((*(p) & 0x80) ? ~0xffff : 0x00) | ((int16)(*(p) & 0xff) << 8); (p)++; \ 1156 (i) |= (int16)((*(p) & 0xff)); (p)++; } 1158 # define UINT16DECODE(p, i) \ 1159 { (i) = (uint16)((*(p) & 0xff) << 8); (p)++; \ 1160 (i) |= (uint16)(*(p) & 0xff); (p)++; } 1162 # define INT32DECODE(p, i) \ 1163 { (i) = (int32)(((int32)*(p) & 0x80) ? ~0xffffffff : 0x00) | ((int32)(*(p) & 0xff) << 24); (p)++; \ 1164 (i) |= ((int32)(*(p) & 0xff) << 16); (p)++; \ 1165 (i) |= ((int32)(*(p) & 0xff) << 8); (p)++; \ 1166 (i) |= (*(p) & 0xff); (p)++; } 1168 # define UINT32DECODE(p, i) \ 1169 { (i) = ((uint32)(*(p) & 0xff) << 24); (p)++; \ 1170 (i) |= ((uint32)(*(p) & 0xff) << 16); (p)++; \ 1171 (i) |= ((uint32)(*(p) & 0xff) << 8); (p)++; \ 1172 (i) |= (uint32)(*(p) & 0xff); (p)++; } 1176 # define NBYTEDECODE(s, d, n) \ 1177 { HDmemcpy(d,s,n); p+=n } 1194 # define FRETVAL(x) x 1206 #if defined(FNAME_PRE_UNDERSCORE) && defined(FNAME_POST_UNDERSCORE) 1207 # define FNAME(x) _##x##_ 1209 #if defined(FNAME_PRE_UNDERSCORE) && !defined(FNAME_POST_UNDERSCORE) 1210 # define FNAME(x) _##x 1212 #if !defined(FNAME_PRE_UNDERSCORE) && defined(FNAME_POST_UNDERSCORE) 1213 # define FNAME(x) x##_ 1215 #if !defined(FNAME_PRE_UNDERSCORE) && !defined(FNAME_POST_UNDERSCORE) 1223 #define MIN(a,b) (((a)<(b)) ? (a) : (b)) 1226 #define MAX(a,b) (((a)>(b)) ? (a) : (b)) 1233 #include "maldebug.h" 1240 #define CONSTR(v,s) char *v=s 1242 #define CONSTR(v,s) static const char v[]=s 1246 #define HDgetspace HDmalloc 1247 #define HDclearspace HDcalloc 1248 #define HDregetspace HDrealloc 1249 #define HDfreespace HDfree 1254 #if !defined(MALLOC_CHECK) 1255 # define HDmalloc(s) (malloc((size_t)s)) 1256 # define HDcalloc(a,b) (calloc((size_t)a,(size_t)b)) 1257 # define HDfree(p) (free((void*)p)) 1258 # define HDrealloc(p,s) (realloc((void*)p,(size_t)s)) 1261 #define HDfreenclear(p) { if((p)!=NULL) HDfree(p); p=NULL; } 1267 # define HDstrcat(s1,s2) (strcat((s1),(s2))) 1268 # define HDstrcmp(s,t) (strcmp((s),(t))) 1269 # define HDstrcpy(s,d) (strcpy((s),(d))) 1270 # define HDstrlen(s) (strlen((const char *)(s))) 1271 # define HDstrncmp(s1,s2,n) (strncmp((s1),(s2),(n))) 1272 # define HDstrncpy(s1,s2,n) (strncpy((s1),(s2),(n))) 1273 # define HDstrchr(s,c) (strchr((s),(c))) 1274 # define HDstrrchr(s,c) (strrchr((s),(c))) 1275 # define HDstrtol(s,e,b) (strtol((s),(e),(b))) 1282 # define HDmemcpy(dst,src,n) (memcpy((void *)(dst),(const void *)(src),(size_t)(n))) 1283 # define HDmemset(dst,c,n) (memset((void *)(dst),(intn)(c),(size_t)(n))) 1284 # define HDmemcmp(dst,src,n) (memcmp((const void *)(dst),(const void *)(src),(size_t)(n))) 1290 #define HDstat(path, result) (stat(path, result)) 1291 #define HDgetenv(s1) (getenv(s1)) 1292 #define HDputenv(s1) (putenv(s1)) 1293 #define HDltoa(v) (ltoa(v)) 1294 #if defined (SUN) && defined(__GNUC__) 1295 #define HDatexit(f) (0) 1297 #define HDatexit(f) (atexit(f))
HDFFCLIBAPI _fcd intf intf * order
HDFFCLIBAPI intf intf intf * type