annotate common.h @ 12:3f627519a92d stable-0-5-2

properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
author carl
date Sat, 18 Feb 2006 09:56:00 -0800
parents 6b1b602514db
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6b1b602514db Initial revision
carl
parents:
diff changeset
1
6b1b602514db Initial revision
carl
parents:
diff changeset
2 #ifndef __COMMON_H
6b1b602514db Initial revision
carl
parents:
diff changeset
3 #define __COMMON_H
6b1b602514db Initial revision
carl
parents:
diff changeset
4
6b1b602514db Initial revision
carl
parents:
diff changeset
5 #ifndef _WIN32
6b1b602514db Initial revision
carl
parents:
diff changeset
6 typedef unsigned int DWORD;
6b1b602514db Initial revision
carl
parents:
diff changeset
7 typedef unsigned short int WORD;
6b1b602514db Initial revision
carl
parents:
diff changeset
8 typedef unsigned char BYTE;
6b1b602514db Initial revision
carl
parents:
diff changeset
9 typedef unsigned int UINT32;
6b1b602514db Initial revision
carl
parents:
diff changeset
10
6b1b602514db Initial revision
carl
parents:
diff changeset
11 # pragma pack (1)
6b1b602514db Initial revision
carl
parents:
diff changeset
12
6b1b602514db Initial revision
carl
parents:
diff changeset
13 # ifndef FILETIME_DEFINED
6b1b602514db Initial revision
carl
parents:
diff changeset
14 # define FILETIME_DEFINED
6b1b602514db Initial revision
carl
parents:
diff changeset
15 /*Win32 Filetime struct - copied from WINE*/
6b1b602514db Initial revision
carl
parents:
diff changeset
16 typedef struct {
6b1b602514db Initial revision
carl
parents:
diff changeset
17 unsigned int dwLowDateTime;
6b1b602514db Initial revision
carl
parents:
diff changeset
18 unsigned int dwHighDateTime;
6b1b602514db Initial revision
carl
parents:
diff changeset
19 } FILETIME;
6b1b602514db Initial revision
carl
parents:
diff changeset
20 # endif
6b1b602514db Initial revision
carl
parents:
diff changeset
21 #endif // _WIN32
6b1b602514db Initial revision
carl
parents:
diff changeset
22 #endif // __COMMON_H