summaryrefslogtreecommitdiff
path: root/v4.0/src/H/INTERNAT.H
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/H/INTERNAT.H')
-rw-r--r--v4.0/src/H/INTERNAT.H30
1 files changed, 30 insertions, 0 deletions
diff --git a/v4.0/src/H/INTERNAT.H b/v4.0/src/H/INTERNAT.H
new file mode 100644
index 0000000..0cd839c
--- /dev/null
+++ b/v4.0/src/H/INTERNAT.H
@@ -0,0 +1,30 @@
1/*
2 Data structure for international table
3 */
4
5struct InterTbl
6{
7 unsigned dateform ; /* Date format */
8 char currsym[5] ; /* Currency symbol as ASCIZ string */
9 char thousp[2] ; /* Thousands separator as ASCIZ string */
10 char decsp[2] ; /* Decimal separator as ASCIZ string */
11 char datesp[2] ; /* Date separator as ASCIZ string */
12 char timesp[2] ; /* Time separator as ASCIZ string */
13 unsigned char bits ; /* Bit field */
14 unsigned char numdig ; /* Number of signifigant decimal digits */
15 unsigned char timeform ;/* Time format */
16 unsigned long casecall ;/* Case mapping call */
17 char datasp[2] ; /* Data list separator as ASCIZ string */
18 int reserv[5] ; /* RESERVED */
19} ;
20
21
22#define DATEFORM_USA 0
23#define DATEFORM_EUROPE 1
24#define DATEFORM_JAPAN 2
25
26#define BITS_CURRENCY 0x0001
27#define BITS_NUMSPC 0x0002
28
29#define TIMEFORM_12 0
30#define TIMEFORM_24 1