Diffstat (limited to 'noncore/apps/opie-reader/pdb.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/pdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/pdb.h b/noncore/apps/opie-reader/pdb.h index 143c5cb..41649bd 100644 --- a/noncore/apps/opie-reader/pdb.h +++ b/noncore/apps/opie-reader/pdb.h | |||
@@ -8,24 +8,25 @@ | |||
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef __PDB_H__ | 11 | #ifndef __PDB_H__ |
12 | #define __PDB_H__ | 12 | #define __PDB_H__ |
13 | 13 | ||
14 | #include <netinet/in.h> | 14 | #include <netinet/in.h> |
15 | #include <stdio.h> | 15 | #include <stdio.h> |
16 | 16 | ||
17 | /* Normal Palm typedefs */ | 17 | /* Normal Palm typedefs */ |
18 | typedef unsigned char UInt8; | 18 | typedef unsigned char UInt8; |
19 | typedef unsigned short UInt16; | 19 | typedef unsigned short UInt16; |
20 | typedef signed short Int16; | ||
20 | typedef unsigned long UInt32; | 21 | typedef unsigned long UInt32; |
21 | typedef UInt32 LocalID; | 22 | typedef UInt32 LocalID; |
22 | 23 | ||
23 | /* Max length of DB name */ | 24 | /* Max length of DB name */ |
24 | #define dmDBNameLength 0x20 | 25 | #define dmDBNameLength 0x20 |
25 | 26 | ||
26 | 27 | ||
27 | /************************************************************ | 28 | /************************************************************ |
28 | * Structure of a Record entry | 29 | * Structure of a Record entry |
29 | *************************************************************/ | 30 | *************************************************************/ |
30 | typedef struct { | 31 | typedef struct { |
31 | LocalID localChunkID; // local chunkID of a record | 32 | LocalID localChunkID; // local chunkID of a record |