File: dods-datatypes.h

package info (click to toggle)
libdap 3.20.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,568 kB
  • sloc: cpp: 50,809; sh: 41,536; xml: 23,511; ansic: 20,030; yacc: 2,508; exp: 1,544; makefile: 990; lex: 309; perl: 52; fortran: 8
file content (42 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*  This file is typically generated during configuation      */
/*  time, but that is not the case under win32.  This file    */
/*  was generated under linux on an x86 and then stripped     */
/*  down to the bare essentials and modified where necessary  */
/*  to form something appropriate for win32.                  */

#ifndef __DODS_DATATYPES__
#define __DODS_DATATYPES__

#include <xdr.h>

#define DINT32 long
typedef DINT32 dods_int32;

#define DUINT32 unsigned long
typedef DUINT32 dods_uint32;

#define XDR_INT32 xdr_long
#define XDR_UINT32 xdr_u_long

#define DINT16 short
typedef DINT16 dods_int16;

#define DUINT16 unsigned short
typedef DUINT16 dods_uint16;

#define XDR_INT16 xdr_short
#define XDR_UINT16 xdr_u_short

#define DBYTE unsigned char
typedef DBYTE dods_byte;

#define DFLOAT64 double
typedef DFLOAT64 dods_float64;

#define DFLOAT32 float
typedef DFLOAT32 dods_float32;

#define XDR_FLOAT64 xdr_double
#define XDR_FLOAT32 xdr_float

#endif /* __DODS_DATATYPES__ */