Changed sdword and slong types to int32_t

This commit is contained in:
Ianos Gnatiuc 2005-10-20 18:13:24 +00:00
parent b11d880f41
commit d8a855aa42
6 changed files with 20 additions and 24 deletions

View File

@ -137,9 +137,7 @@ typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword;
typedef int32_t slong;
typedef uint32_t ulong;
#endif //#ifdef _MSC_VER

View File

@ -64,14 +64,14 @@ typedef struct {
#define DATATYPE_AE 0x0402
typedef struct {
char versionString[32]; // Always starts with 'FMail'
word revNumber; // Is now 0x0100
word dataType; // See #defines above
word headerSize;
sdword creationDate;
sdword lastModified;
word totalRecords;
word recordSize;
char versionString[32]; // Always starts with 'FMail'
word revNumber; // Is now 0x0100
word dataType; // See #defines above
word headerSize;
int32_t creationDate;
int32_t lastModified;
word totalRecords;
word recordSize;
} headerType;
@ -223,7 +223,7 @@ typedef struct {
typedef struct {
char versionMajor;
char versionMinor;
sdword creationDate;
int32_t creationDate;
dword key;
dword reservedKey;
dword relKey1;

View File

@ -65,14 +65,14 @@ typedef struct {
#define DATATYPE_AE 0x0402 // area file for echo mail
typedef struct {
char versionString[32]; // Always starts with 'FMail'
word revNumber; // Is now 0x0100
word dataType; // See #defines above
word headerSize;
sdword creationDate;
sdword lastModified;
word totalRecords;
word recordSize;
char versionString[32]; // Always starts with 'FMail'
word revNumber; // Is now 0x0100
word dataType; // See #defines above
word headerSize;
int32_t creationDate;
int32_t lastModified;
word totalRecords;
word recordSize;
} headerType;
@ -225,7 +225,7 @@ typedef struct {
typedef struct {
byte versionMajor;
byte versionMinor;
sdword creationDate;
int32_t creationDate;
dword key;
dword reservedKey;
dword relKey1;
@ -416,7 +416,7 @@ typedef struct {
typedef struct {
word signature; // contains "AE" for echo areas in FMAIL.AR and
// "AD" for default settings in FMAIL.ARD
// "AD" for default settings in FMAIL.ARD
word writeLevel;
areaNameType areaName;
char comment[COMMENT_LEN];

View File

@ -583,7 +583,7 @@ struct _msgarea {
word killskip; /* Exempt the first X msgs from this processing 50*/
zstr barricade; /* Barricade file 52*/
zstr barricademenu; /* Apply barricade priv while using this menu 54*/
sdword cbPrior; /* Seek offset from start of this area to get back56*
int32_t cbPrior; /* Seek offset from start of this area to get back56*
* to prior area. */
zstr attachpath; /* Reserved for future use 58*/
dword rsvd4; /*60*/

View File

@ -41,7 +41,6 @@ typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword;
#endif //#ifndef __goldall_h

View File

@ -81,7 +81,6 @@ typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword;
#endif //#ifndef __goldall_h