Changed time_t type to time32_t

This commit is contained in:
Ianos Gnatiuc
2005-10-20 21:10:42 +00:00
parent d8a855aa42
commit 44c26c3b0a
34 changed files with 1392 additions and 1369 deletions

View File

@@ -300,9 +300,9 @@ struct areas_record_type {
byte days; /* days to keep messages */
word msgs; /* num messages to keep */
struct im_stats stats; /* statistics */
time_t creation; /* date/time of statistic start */
time_t update; /* last update by midnight update */
time_t marked; /* used by kill dead */
time32_t creation; /* date/time of statistic start */
time32_t update; /* last update by midnight update */
time32_t marked; /* used by kill dead */
byte kill_dead; /* kill echos without traffic */
word read_sec; /* Security level for read access */
word write_sec; /* Security level for write access */

View File

@@ -229,7 +229,7 @@ struct im_config_type {
bit ulnk_hudson_passth:1; /* unlinked Hudson areas passth */
bit compr_before_unpack:1; /* compress before unpacking */
bit rsvd3:1; /* reserved */
time_t last_run; /* last maintenance run */
time32_t last_run; /* last maintenance run */
word rsvd4; /* reserved */
byte rsvd5; /* reserved */
byte rsvd6; /* reserved */
@@ -322,9 +322,9 @@ struct areas_record_type
byte days; /* days to keep messages */
word msgs; /* num messages to keep */
struct im_stats stats; /* statistics */
time_t creation; /* date/time of statistic start */
time_t update; /* last update by midnight update */
time_t marked; /* used by kill dead */
time32_t creation; /* date/time of statistic start */
time32_t update; /* last update by midnight update */
time32_t marked; /* used by kill dead */
byte kill_dead; /* kill echos without traffic */
word read_sec; /* Security level for read access */
word write_sec; /* Security level for write access */

View File

@@ -505,10 +505,10 @@ typedef struct _user_info
USHORT computer_type;
ULONG userid;
USHORT pointid;
time_t initial_logon;
time_t expires;
time_t last_logon;
time_t logon_today;
time32_t initial_logon;
time32_t expires;
time32_t last_logon;
time32_t logon_today;
USHORT birthyear;
UCHAR birthmonth;
UCHAR birthday;
@@ -551,8 +551,8 @@ typedef struct _user_info
SHORT CallsToday;
LONG TotalMinsEver;
LONG NetmailDebits;
time_t LastPWChange;
time_t LastListedNewFiles; //JM940822
time32_t LastPWChange;
time32_t LastListedNewFiles; //JM940822
ULONG FileKCredit;
CHAR UnixId[8];
CHAR Country[24];
@@ -591,7 +591,7 @@ typedef struct _xmsg
CHAR indate[4]; /* import date (YMD(null)) */
ULONG msgnum;
ULONG timesread;
time_t timerecv;
time32_t timerecv;
ULONG length; /* Length of message */
LONG start; /* Starting postition in text file */
ULONG OrigMsg;