Hudson message base bugfix for x64 platforms by Wilfred van Velzen, 2:280/464

This commit is contained in:
Max Vasilyev 2016-12-21 08:45:09 +00:00
parent 2c52e56731
commit 69da471796
4 changed files with 21 additions and 21 deletions

View File

@ -49,10 +49,10 @@ struct GoldUsers {
char city[26]; char city[26];
byte reservedzero; byte reservedzero;
byte language; byte language;
long pwdcrc; int32_t pwdcrc;
word pwdchangedate; word pwdchangedate;
word expiredate; word expiredate;
long highmsgread; int32_t highmsgread;
byte extraspace[2]; byte extraspace[2];
char dataphone[13]; char dataphone[13];
char homephone[13]; char homephone[13];
@ -75,7 +75,7 @@ struct GoldUsers {
short len; short len;
word combinedptr; word combinedptr;
word aliasptr; word aliasptr;
long birthday; int32_t birthday;
}; };

View File

@ -50,10 +50,10 @@ struct HudsUsers {
char city[26]; char city[26];
byte reservedzero; byte reservedzero;
byte language; byte language;
long pwdcrc; int32_t pwdcrc;
word pwdchangedate; word pwdchangedate;
word expiredate; word expiredate;
long unusedspace; int32_t unusedspace;
byte extraspace[2]; byte extraspace[2];
char dataphone[13]; char dataphone[13];
char homephone[13]; char homephone[13];
@ -76,7 +76,7 @@ struct HudsUsers {
short len; short len;
word combinedptr; // record number in COMBINED.* word combinedptr; // record number in COMBINED.*
word aliasptr; // record number in ALIAS.* word aliasptr; // record number in ALIAS.*
long birthday; int32_t birthday;
}; };

View File

@ -75,7 +75,7 @@ struct PcbUsers {
dword totalbytesuploaded[2]; // Total Bytes Uploaded dword totalbytesuploaded[2]; // Total Bytes Uploaded
char deleteflag; // Delete Flag (Y or N) char deleteflag; // Delete Flag (Y or N)
dword lastmsgread[40]; // Last Message Read pointer (conference 0-39) dword lastmsgread[40]; // Last Message Read pointer (conference 0-39)
long usersinfrec; // Record Number of USERS.INF Record int32_t usersinfrec; // Record Number of USERS.INF Record
byte bitflags2; // Bit Flags 2 (see below) byte bitflags2; // Bit Flags 2 (see below)
char reserved[8]; // Reserved (do not use) char reserved[8]; // Reserved (do not use)
short lastconferencein; // Last Conference In (used instead of offset 192) short lastconferencein; // Last Conference In (used instead of offset 192)
@ -90,9 +90,9 @@ struct PcbUsersInfHdr {
uint16_t version; // PCBoard Version Number uint16_t version; // PCBoard Version Number
uint16_t numofconf; // Number of EXTENDED Conferences Allocated in File uint16_t numofconf; // Number of EXTENDED Conferences Allocated in File
uint16_t sizeofrec; // Size of the 'static' PCBoard User Record uint16_t sizeofrec; // Size of the 'static' PCBoard User Record
long sizeofconf; // Total Size of PCBoard Conference Information int32_t sizeofconf; // Total Size of PCBoard Conference Information
uint16_t numofapps; // Number of Third Party Apps adding onto the record uint16_t numofapps; // Number of Third Party Apps adding onto the record
long totalrecsize; // Total Record Size (PCB and all TPA components) int32_t totalrecsize; // Total Record Size (PCB and all TPA components)
}; };
@ -106,7 +106,7 @@ struct PcbUsersInfApp {
uint16_t sizeofrec; // Size of Application Record information (0-65535) uint16_t sizeofrec; // Size of Application Record information (0-65535)
uint16_t sizeofconfrec; // Size of Conference Record information (0-65535) uint16_t sizeofconfrec; // Size of Conference Record information (0-65535)
char keyword[9]; // Keyword to execute Application (NULL terminated) char keyword[9]; // Keyword to execute Application (NULL terminated)
long offset; // Offset in User Record where TPA record begins int32_t offset; // Offset in User Record where TPA record begins
}; };

View File

@ -54,7 +54,7 @@ struct RA2Users {
char address3[51]; char address3[51];
char handle[36]; char handle[36];
char comment[81]; char comment[81];
long passwordcrc; int32_t passwordcrc;
char dataphone[16]; char dataphone[16];
char voicephone[16]; char voicephone[16];
char lasttime[6]; char lasttime[6];
@ -62,17 +62,17 @@ struct RA2Users {
byte attribute; byte attribute;
byte attribute2; byte attribute2;
byte flagsx[4]; byte flagsx[4];
long credit; int32_t credit;
long pending; int32_t pending;
word msgsposted; word msgsposted;
word security; word security;
long lastread; int32_t lastread;
long nocalls; int32_t nocalls;
long uploads; int32_t uploads;
long downloads; int32_t downloads;
long uploadsk; int32_t uploadsk;
long downloadsk; int32_t downloadsk;
long todayk; int32_t todayk;
short elapsed; short elapsed;
word screenlength; word screenlength;
byte lastpwdchange; byte lastpwdchange;
@ -91,7 +91,7 @@ struct RA2Users {
word filegroup; word filegroup;
byte lastdobcheck; byte lastdobcheck;
byte sex; byte sex;
long xirecord; int32_t xirecord;
word msggroup; word msggroup;
byte freespace[48]; byte freespace[48];
}; };