Xbase64 Class Library
3.1.2
xbase64
xbtypes.h
Go to the documentation of this file.
1
/* xbtypes.h
2
3
Xbase64 project source code
4
5
Copyright (C) 1997,2003 Gary A Kunkel
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU Lesser General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU Lesser General Public License for more details.
16
17
You should have received a copy of the GNU Lesser General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
21
22
Contact:
23
24
Email:
25
26
xdb-devel@lists.sourceforge.net
27
xdb-users@lists.sourceforge.net
28
29
30
Regular Mail:
31
32
XBase Support
33
149C South Main St
34
Keller Texas, 76248
35
USA
36
37
*/
38
39
#ifndef __XB_XTYPES_H__
40
#define __XB_XTYPES_H__
41
42
#include <stdio.h>
43
47
50
typedef
unsigned
long
int
xbULong
;
51
53
55
typedef
unsigned
short
int
xbUShort
;
56
58
60
typedef
short
int
xbShort
;
61
typedef
long
xbLong
;
62
63
65
67
typedef
float
xbFloat
;
68
69
71
73
typedef
double
xbDouble
;
74
76
78
typedef
short
int
xbBool
;
79
81
83
#ifdef XB_LOCKING_ON
84
#ifdef __WIN32__
85
#else
86
#endif
87
#endif // XB_LOCKING_ON
88
#endif // __XB_XTYPES_H__
89
90
// 64 bit file processing
91
#if defined(HAVE_FSEEKO) && defined(HAVE_FTELLO) && defined(XB_LARGEFILE_SUPPORT)
92
#define _ftell ftello
93
#define _fseek fseeko
94
typedef
off_t
xbOffT
;
95
#else
96
#define _ftell ftell
97
#define _fseek fseek
98
typedef
long
xbOffT
;
99
#endif
xbBool
short int xbBool
xbBool type
Definition:
xbtypes.h:78
xbLong
long xbLong
Definition:
xbtypes.h:61
xbShort
short int xbShort
xbShort type
Definition:
xbtypes.h:60
xbULong
unsigned long int xbULong
xbULong type
Definition:
xbtypes.h:50
xbDouble
double xbDouble
xbDouble type
Definition:
xbtypes.h:73
xbUShort
unsigned short int xbUShort
xbUShort type
Definition:
xbtypes.h:55
xbFloat
float xbFloat
xbFloat type
Definition:
xbtypes.h:67
xbOffT
long xbOffT
Definition:
xbtypes.h:98
Generated by
1.8.14