home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
OSKBox.lzh
/
MAILBOX
/
CC
/
mailbox.h
< prev
next >
Wrap
Text File
|
1993-04-25
|
1KB
|
80 lines
#define HOME "/dd/mailbox"
#define DISDIR "UTIL" /* "/r0/MAILBOX" */
#define FWDIR "UTIL" /* "/r0/MAILBOX" */
#define SID "[CMU-2.08-WH$]"
#define MYCALL "WD6CMU"
#define MYHADDR "#NOCAL.CA.USA.NA"
#define MYZIP "94805"
#define MYQTH "\"OSKbox\""
#define BANNER "WD6CMU OSKbox, Richmond CA."
#define MAXMAIL 2000
/*#define UTC 8 /* hours from GMT (PST) */
#define UTC 7 /* hours from GMT (PDT) */
struct userstruct {
int usdate, ustime;
int usnmr;
char usssid;
int usopt;
int uscnt;
char uscall[7];
char usname[13];
char uspath[57];
};
/* Bit definitions in usopt */
#define ISDELETED (1<<0)
#define ISBBS (1<<1)
#define ISPNG (1<<2)
#define ISEXPERT (1<<3)
#define ISSUPER (1<<4)
#define ISSTUPID (1<<5)
struct msg_header {
int mhnr;
int mhsize;
int mhdate;
int mhtime;
int mhdate_mod;
int mhdate_xpir;
int mhdist;
char mhtype;
char mhstat;
char mhto[7];
char mhfrom[7];
char mhbbs[39];
char mhtit[81];
char mhbid[13];
unsigned char mhdirty;
};
struct msg_header *next_mail(), *new_mail(), *find_bid();
int is_to();
int is_from();
int is_at();
int is_type();
int is_hold();
int is_mail();
int is_new();
int is_last();
int is_num();
int is_gnum();
int is_nmail();
int is_forwarded();
int is_nforwarded();
int is_read();
int is_last();
int is_deleted();
int is_arbitrary();
int is_title();
int is_multnum();
char *strchr(), *strrchr();
struct dist_list {
struct dist_list *dlnext;
char dlname[7];
int dlcount;
char dlbbs[32][7];
};