Changed part of integer types to intN_t
This commit is contained in:
@@ -66,7 +66,7 @@ typedef char AskType; // 0=yes, 1=no, 2=ask
|
||||
typedef char MsgType; // 0=localmail, 1=netmail, 2=echomail, 3=passthru, 4=waitthru, 5=allmail
|
||||
typedef char MsgKindsType; // 0=public, 1=private, 2=private or public
|
||||
typedef char UserString[36];
|
||||
typedef unsigned char EzFlagType[4];
|
||||
typedef uint8_t EzFlagType[4];
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
@@ -141,8 +141,8 @@ typedef struct {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
struct _stamp
|
||||
begin
|
||||
unsigned short date;
|
||||
unsigned short time;
|
||||
uint16_t date;
|
||||
uint16_t time;
|
||||
end;
|
||||
|
||||
|
||||
|
@@ -34,13 +34,6 @@
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Typedefs
|
||||
|
||||
typedef unsigned char _boolean;
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned short word;
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Constants
|
||||
@@ -76,7 +69,7 @@ struct OriginLineRecord {
|
||||
|
||||
struct EchoMailConferenceRecord {
|
||||
|
||||
_boolean PassThru;
|
||||
bool PassThru;
|
||||
|
||||
word ConfNum;
|
||||
word ConfTag;
|
||||
@@ -86,19 +79,19 @@ struct EchoMailConferenceRecord {
|
||||
|
||||
word AreaLevel;
|
||||
|
||||
_boolean CheckForDupes;
|
||||
_boolean ImportSeenByLines;
|
||||
_boolean ImportPathLines;
|
||||
_boolean KeepPrivate;
|
||||
bool CheckForDupes;
|
||||
bool ImportSeenByLines;
|
||||
bool ImportPathLines;
|
||||
bool KeepPrivate;
|
||||
|
||||
_boolean Deleted;
|
||||
bool Deleted;
|
||||
|
||||
byte OriginLine;
|
||||
byte Group;
|
||||
|
||||
_boolean ScanPrivate;
|
||||
_boolean Mandatory;
|
||||
_boolean ForcePrivate;
|
||||
bool ScanPrivate;
|
||||
bool Mandatory;
|
||||
bool ForcePrivate;
|
||||
|
||||
byte Extra[45];
|
||||
};
|
||||
|
@@ -54,11 +54,11 @@ enum MailTypeDef {
|
||||
|
||||
struct AddressRec {
|
||||
|
||||
unsigned short Zone;
|
||||
unsigned short Net;
|
||||
unsigned short Node;
|
||||
unsigned short Point;
|
||||
char Domain[21];
|
||||
uint16_t Zone;
|
||||
uint16_t Net;
|
||||
uint16_t Node;
|
||||
uint16_t Point;
|
||||
char Domain[21];
|
||||
};
|
||||
|
||||
|
||||
@@ -67,34 +67,34 @@ struct AddressRec {
|
||||
|
||||
struct EchoAreaRec {
|
||||
|
||||
char Name[41]; // Area Name
|
||||
char Descr[61]; // Description
|
||||
unsigned char MailType; // (MailTypeDef) local, netmail or what
|
||||
unsigned char StoreType; // (MsgBaseType)
|
||||
char MsgDirectory[61]; // ... and the corresponding directory
|
||||
unsigned short ReadSecurity; // Read access level
|
||||
unsigned short WriteSecurity; // Write access level
|
||||
char OriginLine[61]; // Origin line for this echo
|
||||
AddressRec AreaAddress; // Adress of sender for this echo
|
||||
unsigned char ConferenceNr; // The conference this echo belongs to. If 0 the echo has NO conference
|
||||
unsigned short maxdays;
|
||||
unsigned short maxrecv;
|
||||
unsigned short maxcount;
|
||||
unsigned short totalimp;
|
||||
unsigned short totalexp; // Purge info
|
||||
long totalimpL;
|
||||
long totalexpL; // total # of msgs imported/exported in this echo
|
||||
unsigned char BasePathStrip; // Don't import PATH line to base
|
||||
unsigned char ExportPathStrip; // Strip PATH line for downlinks
|
||||
unsigned char BaseSeenStrip; // Don't import SEEN-BY to base
|
||||
unsigned char ExportSeenStrip; // Strip SEEN-BY for downlinks
|
||||
unsigned short AbsCosts;
|
||||
unsigned short RelCosts; // The cost for each mail in this echo
|
||||
long LastActionDate; // Last date something happened in this echo
|
||||
unsigned char NeverRemove; // Never remove this echo automatically
|
||||
unsigned short MaxDupes; // Maximum nr. of Dupes
|
||||
unsigned char SkipPathCheck;
|
||||
unsigned char Dummy[106]; // unused
|
||||
char Name[41]; // Area Name
|
||||
char Descr[61]; // Description
|
||||
uint8_t MailType; // (MailTypeDef) local, netmail or what
|
||||
uint8_t StoreType; // (MsgBaseType)
|
||||
char MsgDirectory[61]; // ... and the corresponding directory
|
||||
uint16_t ReadSecurity; // Read access level
|
||||
uint16_t WriteSecurity; // Write access level
|
||||
char OriginLine[61]; // Origin line for this echo
|
||||
AddressRec AreaAddress; // Adress of sender for this echo
|
||||
uint8_t ConferenceNr; // The conference this echo belongs to. If 0 the echo has NO conference
|
||||
uint16_t maxdays;
|
||||
uint16_t maxrecv;
|
||||
uint16_t maxcount;
|
||||
uint16_t totalimp;
|
||||
uint16_t totalexp; // Purge info
|
||||
int32_t totalimpL;
|
||||
int32_t totalexpL; // total # of msgs imported/exported in this echo
|
||||
uint8_t BasePathStrip; // Don't import PATH line to base
|
||||
uint8_t ExportPathStrip; // Strip PATH line for downlinks
|
||||
uint8_t BaseSeenStrip; // Don't import SEEN-BY to base
|
||||
uint8_t ExportSeenStrip; // Strip SEEN-BY for downlinks
|
||||
uint16_t AbsCosts;
|
||||
uint16_t RelCosts; // The cost for each mail in this echo
|
||||
int32_t LastActionDate; // Last date something happened in this echo
|
||||
uint8_t NeverRemove; // Never remove this echo automatically
|
||||
uint16_t MaxDupes; // Maximum nr. of Dupes
|
||||
uint8_t SkipPathCheck;
|
||||
uint8_t Dummy[106]; // unused
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user