annotate src/common.h @ 60:97b7706bdda2

Work around bogus 7c.b5 blocks in some messages that have been read. They appear to have attachments, but of some unknown format. Before the message was read, it did not have any attachments. Use autoscan to cleanup our autoconf system. Use autoconf to detect when we need to use our XGetopt files and other header files. More fields, including BCC. Fix missing LE32_CPU byte swapping for FILETIME types.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 16 Feb 2008 12:26:35 -0800
parents 7d5c637aaafb
children 0f1492b7fe8b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2 #ifndef __COMMON_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
3 #define __COMMON_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
4
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
5 #ifndef _WIN32
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
6 typedef unsigned int DWORD;
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
7 typedef unsigned short int WORD;
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
8 typedef unsigned char BYTE;
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
9 typedef unsigned int UINT32;
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
10
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
11 # pragma pack (1)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
12
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
13 # ifndef FILETIME_DEFINED
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
14 # define FILETIME_DEFINED
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
15 /*Win32 Filetime struct - copied from WINE*/
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
16 typedef struct {
46
b2a7f2e0926a more fixes for 64 bit format
carl
parents: 16
diff changeset
17 unsigned int dwLowDateTime;
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
18 unsigned int dwHighDateTime;
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
19 } FILETIME;
59
7d5c637aaafb General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents: 46
diff changeset
20 # endif // FILETIME_DEFINED
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
21 #endif // _WIN32
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
22 #endif // __COMMON_H