Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __XDR_DATATYPES__
00019 #define __XDR_DATATYPES__
00020
00021 #ifdef WIN32
00022 #include <rpc.h>
00023 #include <winsock2.h>
00024 #include <xdr.h>
00025 #else
00026 #include <rpc/types.h>
00027 #include <netinet/in.h>
00028 #include <rpc/xdr.h>
00029 #endif
00030
00031 #ifndef XDR_INT32
00032 #define XDR_INT32 xdr_int32_t
00033 #endif
00034
00035 #ifndef XDR_UINT32
00036 #define XDR_UINT32 xdr_uint32_t
00037 #endif
00038
00039 #ifndef XDR_INT16
00040 #define XDR_INT16 xdr_int16_t
00041 #endif
00042
00043 #ifndef XDR_UINT16
00044 #define XDR_UINT16 xdr_uint16_t
00045 #endif
00046
00047 #ifndef XDR_FLOAT64
00048 #define XDR_FLOAT64 xdr_double
00049 #endif
00050
00051 #ifndef XDR_FLOAT32
00052 #define XDR_FLOAT32 xdr_float
00053 #endif
00054
00055 #endif
00056