|
|
1.1 root 1: /* qwk.h */
2:
3: /* Synchronet QWK-related structures, constants, and prototypes */
4:
1.1.1.2 ! root 5: /* $Id: qwk.h,v 1.5 2011/07/21 11:28:23 rswindell Exp $ */
1.1 root 6:
7: /****************************************************************************
8: * @format.tab-size 4 (Plain Text/Source Code File Header) *
9: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
10: * *
1.1.1.2 ! root 11: * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html *
1.1 root 12: * *
13: * This program is free software; you can redistribute it and/or *
14: * modify it under the terms of the GNU General Public License *
15: * as published by the Free Software Foundation; either version 2 *
16: * of the License, or (at your option) any later version. *
17: * See the GNU General Public License for more details: gpl.txt or *
18: * http://www.fsf.org/copyleft/gpl.html *
19: * *
20: * Anonymous FTP access to the most recent released source is available at *
21: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net *
22: * *
23: * Anonymous CVS access to the development source and modification history *
24: * is available at cvs.synchro.net:/cvsroot/sbbs, example: *
25: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login *
26: * (just hit return, no password is necessary) *
27: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src *
28: * *
29: * For Synchronet coding style and modification guidelines, see *
30: * http://www.synchro.net/source.html *
31: * *
32: * You are encouraged to submit any modifications (preferably in Unix diff *
33: * format) via e-mail to [email protected] *
34: * *
35: * Note: If this box doesn't appear square, then you need to fix your tabs. *
36: ****************************************************************************/
37:
38: #define QWK_NEWLINE '\xe3' /* QWK line terminator */
39: #define QWK_BLOCK_LEN 128
1.1.1.2 ! root 40: #define QWK_HFIELD_LEN 25 /* Header field (To/From/Subject) length */
1.1 root 41:
42: /* QWK mode bits */
43: #define QM_TAGLINE (1<<5) /* Place tagline at end of qwk message */
44: #define QM_TO_QNET (1<<6) /* Sending to hub */
45: #define QM_REP (1<<7) /* It's a REP packet */
46: #define QM_VIA (1<<8) /* Include VIA */
47: #define QM_TZ (1<<9) /* Include TZ */
48: #define QM_MSGID (1<<10) /* Include MSGID and REPLY */
49: #define QM_REPLYTO (1<<11) /* Include REPLYTO */
50:
51: float ltomsbin(long val);
52: bool route_circ(char *via, char *id);
53:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.