libdap  Updated for version 3.20.6
libdap4 is an implementation of OPeNDAP's DAP protocol.
xdr-datatypes.h
1 /* xdr-datatypes-config.h. Generated from xdr-datatypes-config.h.in by configure. */
2 
3 /*
4  Determine at compile-time the sizes of various XDR datatypes. This uses
5  symbols defined by configure (See configure.in). pcw 08/13/07
6 */
7 
8 #ifndef __XDR_DATATYPES__
9 #define __XDR_DATATYPES__
10 
11 #ifdef WIN32
12 #include <rpc.h>
13 #include <winsock2.h>
14 #include <xdr.h>
15 #else
16 #include <rpc/types.h>
17 #include <netinet/in.h>
18 #include <rpc/xdr.h>
19 #endif
20 
21 
22 #define XDR_INT32 xdr_int32_t
23 #define XDR_UINT32 xdr_u_int32_t
24 
25 #define XDR_INT16 xdr_int16_t
26 #define XDR_UINT16 xdr_u_int16_t
27 
28 #define XDR_FLOAT64 xdr_double
29 #define XDR_FLOAT32 xdr_float
30 
31 #endif /* __XDR_DATATYPES__ */