1 // This may look like C code, but it is really -*- C++ -*- 2 3 // ------------------------------------------------------------------ 4 // The Goldware Library 5 // Copyright (C) 1990-1999 Odinn Sorensen 6 // ------------------------------------------------------------------ 7 // This library is free software; you can redistribute it and/or 8 // modify it under the terms of the GNU Library General Public 9 // License as published by the Free Software Foundation; either 10 // version 2 of the License, or (at your option) any later version. 11 // 12 // This library is distributed in the hope that it will be useful, 13 // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 // Library General Public License for more details. 16 // 17 // You should have received a copy of the GNU Library General Public 18 // License along with this program; if not, write to the Free 19 // Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 // MA 02111-1307, USA 21 // ------------------------------------------------------------------ 22 // $Id: gs_wmail.h,v 1.1.1.1 2000/02/25 10:12:50 asa Exp $ 23 // ------------------------------------------------------------------ 24 // WMail 2.2 config structs 25 // ------------------------------------------------------------------ 26 27 #if defined(GOLD_CANPACK) 28 #pragma pack(1) 29 #endif 30 31 // ------------------------------------------------------------------ 32 // Structure of WMAIL.PRM 33 34 typedef struct { 35 word version; 36 char sysop[31]; 37 char key[17]; 38 struct this_name_for_msvc { 39 ftn_addr addr; 40 char domain[21]; 41 } aka[11]; 42 word fakenet; 43 struct { 44 word net; 45 word node; 46 } zonegate[10]; 47 byte active_options; 48 byte swap; 49 word minspace; 50 struct { 51 char mail[61]; 52 char files[61]; 53 char out[61]; 54 char arcmail[61]; 55 char msgbase[61]; 56 char dupes[61]; 57 char badecho[61]; 58 char packer[61]; 59 char stats[61]; 60 char newareas[61]; 61 char nodelist[61]; 62 } dir; 63 char origin[10][66]; 64 char arealistfile[61]; 65 byte logstyle; 66 byte active_options2; 67 struct this_name_for_msvc_too { 68 ftn_addr addr; 69 byte packer; 70 char cmdpw1[21]; 71 char cmdpw2[21]; 72 byte level; 73 short misc; 74 byte aka; 75 } bbsinfo[50]; 76 char routefile[61]; 77 struct { 78 char name[13]; 79 char parms[21]; 80 } packer[7]; 81 struct { 82 char name[13]; 83 char parms[21]; 84 } unpacker[7]; 85 byte defpacker; 86 byte defmisc; 87 byte unused[1000]; 88 } TWmailPrm, *PWmailPrm; 89 90 91 // ------------------------------------------------------------------ 92 // Structure of AREAS.PRM 93 94 typedef struct { 95 char titolo[41]; 96 char path[81]; 97 byte tipo; // Local=1, EchoMail=2, NetMail=3, Passthru=4 98 byte wedorigin; 99 char tag[41]; 100 byte def_attr; // Bit 0: Pvt, 1: Crash, 4: F/A, 7: Kill/Sent 101 char forwardto[3][61]; 102 byte aka; 103 byte misc; 104 byte level; 105 byte wmorigin; 106 char fill[8]; 107 } TAreasPrm, *PAreasPrm; 108 109 110 // ------------------------------------------------------------------ 111 112 #if defined(GOLD_CANPACK) 113 #pragma pack() 114 #endif 115 116 // ------------------------------------------------------------------ 117