1 /* 2 * QUICK.H 3 * 4 * Written on 30-Jul-90 by jim nutt and released to the public domain. 5 * 6 * Support for QuickBBS-style message bases. 7 */ 8 9 #ifndef __QUICK_H__ 10 #define __QUICK_H__ 11 12 int QuickMsgDelete(unsigned long n); 13 int QuickAreaSetLast(AREA * a); 14 long QuickMsgAreaOpen(AREA * a); 15 int QuickMsgAreaClose(void); 16 int QuickMsgClose(void); 17 char *QuickMsgReadText(unsigned long n); 18 msg *QuickMsgReadHeader(unsigned long n, int type); 19 int QuickMsgWriteHeader(msg * m, int type); 20 int QuickMsgWriteText(char *text, unsigned long n, unsigned long mlen); 21 unsigned long QuickMsgnToUid(unsigned long n); 22 unsigned long QuickUidToMsgn(unsigned long n); 23 int QuickMsgLock(void); 24 int QuickMsgUnlock(void); 25 26 #endif 27