|
|
1.1 root 1: /* QWK.H */
2:
3: /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */
4:
5: typedef union {
6: uchar uc[10];
7: ushort ui[5];
8: ulong ul[2];
9: float f[2];
10: double d[1]; } converter;
11:
12: #define LEN_QWKBUF 20000 /* 20k buffer for each message */
13: #define TAGLINE (1<<5) /* Place tagline at end of qwk message */
14: #define TO_QNET (1<<6) /* Sending to hub */
15: #define REP (1<<7) /* It's a REP packet */
16: #define VIA (1<<8) /* Include VIA */
17: #define TZ (1<<9) /* Include TZ */
18:
19: void qwk_success(ulong msgcnt, char bi, char prepack);
20: char pack_qwk(char *packet, ulong *msgcnt, int prepack);
21: void unpack_qwk(char *packet, uint hubnum);
22: char pack_rep(uint hubnum);
23: void unpack_rep(void);
24: void remove_ctrl_a(char *instr);
25: ulong msgtoqwk(smbmsg_t msg, FILE *qwk_fp, int mode, int subnum
26: , int conf);
27: char qwktomsg(FILE *qwk_fp, uchar *hdrblk, char fromhub, uint subnum
28: , uint touser);
29: void qwkcfgline(char *buf,uint subnum);
30: float ltomsbin(long val);
31: int qwk_route(char *inaddr, char *fulladdr);
32: int route_circ(char *via, char *id);
33: void update_qwkroute(char *via);
34:
35: extern time_t qwkmail_time;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.