1 /* $Id$ */
2 
3 /*****************************************************************************
4  * HPT --- FTN NetMail/EchoMail Tosser
5  *****************************************************************************
6  * Copyright (C) 1997-1999
7  *
8  * Matthias Tichy
9  *
10  * Fido:     2:2433/1245 2:2433/1247 2:2432/605.14
11  * Internet: mtt@tichy.de
12  *
13  * Grimmestr. 12         Buchholzer Weg 4
14  * 33098 Paderborn       40472 Duesseldorf
15  * Germany               Germany
16  *
17  * This file is part of HPT.
18  *
19  * HPT is free software; you can redistribute it and/or modify it
20  * under the terms of the GNU General Public License as published by the
21  * Free Software Foundation; either version 2, or (at your option) any
22  * later version.
23  *
24  * HPT is distributed in the hope that it will be useful, but
25  * WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
27  * General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with HPT; see the file COPYING.  If not, write to the Free
31  * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
32  *****************************************************************************/
33 #ifndef GLOBAL_H
34 #define GLOBAL_H
35 
36 #include <fidoconf/fidoconf.h>
37 #include <huskylib/typesize.h>
38 #include <huskylib/log.h>
39 
40 extern int initSMAPI;
41 
42 /*  variables for config statements */
43 
44 extern s_fidoconfig *config;
45 extern char         *cfgFile;
46 extern s_robot      *robot;
47 
48 /*  vriable for current tossing dir */
49 extern char *tossDir;
50 
51 /*  var for linkAreas() argument */
52 extern char *linkName;
53 
54 /*  buffer for msg->text */
55 extern UCHAR *globalBuffer;
56 
57 /*  variables for commandline statements */
58 
59 extern int       cmToss;
60 extern int       cmScan;
61 extern int       cmPack;
62 extern int       cmLink;
63 extern int       cmAfix;
64 extern int       cmNotifyLink;
65 extern int       cmPause;
66 extern int       cmQueue;
67 extern int       noHighWaters;
68 extern int       pkt_count; /*  pkt counter */
69 extern int       pkt_aTime;
70 extern int       quiet;
71 extern e_relinkType cmRelink;
72 
73 extern hs_addr afixAddr;
74 extern char *afixCmd;
75 extern hs_addr relinkFromAddr;
76 extern hs_addr relinkToAddr;
77 extern char *relinkPattern;
78 extern char *resubscribePatternFile;
79 
80 extern int lock_fd;
81 extern char *versionStr;
82 extern int silent_mode;
83 extern int report_changes;
84 
85 extern char **hpt_environ;
86 
87 /* misc variables */
88 extern time_t globalTime;
89 
90 #endif
91