1 /*
2  * Structure of Callers.Bbs
3  * Maximus (optional) caller information & activity log
4  */
5 
6 #ifndef CALLINFO_H_DEFINED
7 #define CALLINFO_H_DEFINED
8 
9 #define CALL_LOGON      0x8000                  /* Caller was logged on! */
10 #define CALL_CARRIER    0x0001                    /* Caller lost carrier */
11 #define CALL_EJECTED    0x0002    /* Caller was ejected by sysop or priv */
12 #define CALL_PAGED_AH   0x0004               /* Caller paged after hours */
13 #define CALL_DLEXCEED   0x0008         /* Caller attempted to exceed d/l */
14 #define CALL_EXPIRED    0x0010          /* Caller's subscription expired */
15 #define CALL_TIMELIMIT  0x0020             /* Caller exceeded time limit */
16 #define CALL_NERD       0x0040                     /* Caller was nerd'ed */
17 #define CALL_BARRPWD    0x0080             /* Barricade password failure */
18 
19 struct callinfo
20 {
21   byte              name[36];     /* User's name/alias                 0*/
22   byte              city[36];     /* User's city                      36*/
23   union stamp_combo login;        /* Time logged on                   72*/
24   union stamp_combo logoff;       /* Time logged off                  76*/
25   word              task;         /* Which node                       80*/
26   word              flags;        /* Call flags                       82*/
27   word              logon_priv;   /* Priv level on login              84*/
28   word              logoff_priv;  /* Priv level on logoff             86*/
29   dword             logon_xkeys;  /* Keys on login                    88*/
30   dword             logoff_xkeys; /* Keys on logoff                   92*/
31   word              filesup;      /* Number of files uploaded         96*/
32   word              filesdn;      /* Number of files dnloaded         98*/
33   word              kbup;         /* kb uploaded                     100*/
34   word              kbdn;         /* kb dnloaded                     102*/
35   word              calls;        /* Number of previous calls + 1    104*/
36   word              read;         /* Number of messages read         106*/
37   word              posted;       /* Number of messages posted       108*/
38   word              paged;        /* Number of times user paged      110*/
39   sword             added;        /* Time added during call          112*/
40   byte              reserved[14];                                 /* 114*/
41 };                                                                /* 128*/
42 
43 #endif
44 
45