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_ra.h,v 1.1.1.1 2000/02/25 10:12:48 asa Exp $
23 //  ------------------------------------------------------------------
24 //  RemoteAccess configuration data structures.
25 //  ------------------------------------------------------------------
26 
27 #if defined(GOLD_CANPACK)
28 #pragma pack(1)
29 #endif
30 
31 //  ------------------------------------------------------------------
32 //  RA Address structure
33 
34 typedef struct {
35   word  zone;
36   word  net;
37   word  node;
38   word  point;
39 } _raaddr;
40 
41 
42 //  ------------------------------------------------------------------
43 //  RA Area info structure
44 
45 typedef struct {
46   char    name[41];         // 000
47   char    type;             // 041
48   byte    msgkinds;         // 042
49   byte    attribute;        // 043
50   byte    dayskill;         // 044
51   byte    recvkill;         // 045
52   word    countkill;        // 046
53   word    readsecurity;     // 048
54   byte    readflags[4];     // 050
55   word    writesecurity;    // 054
56   byte    writeflags[4];    // 056
57   word    sysopsecurity;    // 060
58   byte    sysopflags[4];    // 062
59   char    originline[61];   // 066
60   byte    akaaddress;       // 127
61 } _messagesra;              // 128 Bytes
62 
63 
64 //  ------------------------------------------------------------------
65 //  RA Configuration structure
66 
67 typedef struct {
68   word    versionid;
69   byte    commport;
70   long    baud;
71   byte    inittries;
72   char    initstr[71],
73           busystr[71];
74   char    initresp[41],
75           busyresp[41],
76           connect300[41],
77           connect1200[41],
78           connect2400[41],
79           connect4800[41],
80           connect9600[41],
81           connect19k[41],
82           connect38k[41];
83   byte    answerphone;
84   char    ring[21],
85           answerstr[21];
86   byte    flushbuffer;
87   short    modemdelay;
88   short    minimumbaud,
89           graphicsbaud,
90           transferbaud;
91   char    slowbaudtimestart[6],
92           slowbaudtimeend[6],
93           downloadtimestart[6],
94           downloadtimeend[6],
95           pagingtimestart[6],
96           pagingtimeend[6];
97   char    loadingmsg[71],
98           listprompt[71];
99   short    pwdexpiry;
100   char    menupath[61],
101           textpath[61],
102           netpath[61],
103           nodelistpath[61],
104           msgbasepath[61],
105           syspath[61],
106           externaledcmd[61];
107   _raaddr address[10];
108   char    systemname[31];
109   short    newsecurity;
110   short    newcredit;
111   byte    newflags[4];
112   char    originline[61];
113   char    quotestring[16];
114   char    sysop[36];
115   char    logfilename[61];
116   byte    fastlogon,
117           allowsysrem,
118           monomode,
119           strictpwdchecking,
120           directwrite,
121           snowcheck;
122   short    creditfactor;
123   short    usertimeout,
124           logontime,
125           passwordtries,
126           maxpage,
127           pagelength;
128   byte    checkformultilogon,
129           excludesysopfromlist,
130           onewordnames;
131   char    checkmail;
132   byte    askvoicephone,
133           askdataphone,
134           dofullmailcheck,
135           allowfileshells,
136           fixuploaddates,
137           showfiledates;
138   short    ansi,
139           clearscreen,
140           moreprompt,
141           uploadmsgs,
142           killsent;
143   short    crashasksec;
144   byte    crashaskflags[4];
145   short    crashsec;
146   byte    crashflags[4];
147   short    fattachsec;
148   byte    fattachflags[4],
149           normfore,
150           normback,
151           statfore,
152           statback,
153           hiback,
154           hifore,
155           windfore,
156           windback,
157           exitlocal,
158           exit300,
159           exit1200,
160           exit2400,
161           exit4800,
162           exit9600,
163           exit19k,
164           exit38k;
165   byte    multiline;
166   byte    minpwdlen;
167   word    minupspace;
168   char    hotkeys;
169   byte    borderfore,
170           borderback,
171           barfore,
172           barback,
173           logstyle,
174           multitasker,
175           pwdboard;
176   word    buffersize;
177   char    fkeys[10][61];
178   byte    futureexpansion[1024];
179 } _configra;
180 
181 
182 //  ------------------------------------------------------------------
183 
184 #if defined(GOLD_CANPACK)
185 #pragma pack()
186 #endif
187 
188 //  ------------------------------------------------------------------
189