47 |
|
|
48 |
|
const |
49 |
|
MaxuShort = 65535; |
50 |
+ |
ISC_TRUE = 1; |
51 |
+ |
ISC_FALSE = 0; |
52 |
+ |
|
53 |
|
type |
54 |
|
{$IF not declared(FixedInt)} |
55 |
|
FixedInt = LongInt; |
65 |
|
UChar = Byte; { 8 bit unsigned } |
66 |
|
ISC_LONG = Long; { 32 bit signed } |
67 |
|
UISC_LONG = ULong; { 32 bit unsigned } |
68 |
+ |
ISC_USHORT = UShort; { 16 bit unsigned } |
69 |
|
ISC_INT64 = Int64; { 64 bit signed } |
70 |
|
{$IFDEF CPU64} |
71 |
|
ISC_STATUS = Int64; { 64 bit signed } |
90 |
|
PISC_STATUS = ^ISC_STATUS; |
91 |
|
PPISC_STATUS = ^PISC_STATUS; |
92 |
|
PUISC_STATUS = ^UISC_STATUS; |
93 |
+ |
ISC_SHORT = SmallInt; |
94 |
+ |
|
95 |
+ |
FB_DEC16 = array [1..1] of Int64; |
96 |
+ |
FB_DEC34 = array [1..2] of Int64; |
97 |
+ |
FB_DEC_FIXED = array [1..2] of Int64; {FB4 Beta 1 only} |
98 |
+ |
FB_I128 = array [1..2] of Int64; |
99 |
+ |
|
100 |
+ |
ISC_DATE = Integer; |
101 |
+ |
ISC_TIME = Integer; |
102 |
+ |
|
103 |
+ |
PISC_TIME_TZ = ^ISC_TIME_TZ; |
104 |
+ |
ISC_TIME_TZ = record |
105 |
+ |
utc_time: ISC_TIME; |
106 |
+ |
time_zone: ISC_USHORT; |
107 |
+ |
end; |
108 |
+ |
|
109 |
+ |
PISC_TIMESTAMP = ^ISC_TIMESTAMP; |
110 |
+ |
ISC_TIMESTAMP = record |
111 |
+ |
timestamp_date: ISC_DATE; |
112 |
+ |
timestamp_time: ISC_TIME; |
113 |
+ |
end; |
114 |
+ |
|
115 |
+ |
PISC_TIMESTAMP_TZ = ^ISC_TIMESTAMP_TZ; |
116 |
+ |
ISC_TIMESTAMP_TZ = record |
117 |
+ |
utc_timestamp: ISC_TIMESTAMP; |
118 |
+ |
time_zone: ISC_USHORT; |
119 |
+ |
end; |
120 |
+ |
|
121 |
+ |
PISC_TIME_TZ_EX = ^ISC_TIME_TZ_EX; |
122 |
+ |
ISC_TIME_TZ_EX = record |
123 |
+ |
utc_time: ISC_TIME; |
124 |
+ |
time_zone: ISC_USHORT; |
125 |
+ |
ext_offset: ISC_SHORT; |
126 |
+ |
end; |
127 |
+ |
|
128 |
+ |
PISC_TIMESTAMP_TZ_EX = ^ISC_TIMESTAMP_TZ_EX; |
129 |
+ |
ISC_TIMESTAMP_TZ_EX = record |
130 |
+ |
utc_timestamp: ISC_TIMESTAMP; |
131 |
+ |
time_zone: ISC_USHORT; |
132 |
+ |
ext_offset: ISC_SHORT; |
133 |
+ |
end; |
134 |
|
|
135 |
|
type |
136 |
+ |
|
137 |
|
{ C Date/Time Structure } |
138 |
|
TCTimeStructure = record |
139 |
|
tm_sec : integer; { Seconds } |