1 /***************************************************************************** 2 * HPT --- FTN NetMail/EchoMail Tosser 3 ***************************************************************************** 4 * Copyright (C) 1997-1999 5 * 6 * Matthias Tichy 7 * 8 * Fido: 2:2433/1245 2:2433/1247 2:2432/605.14 9 * Internet: mtt@tichy.de 10 * 11 * Grimmestr. 12 Buchholzer Weg 4 12 * 33098 Paderborn 40472 Duesseldorf 13 * Germany Germany 14 * 15 * This file is part of HPT. 16 * 17 * HPT is free software; you can redistribute it and/or modify it 18 * under the terms of the GNU General Public License as published by the 19 * Free Software Foundation; either version 2, or (at your option) any 20 * later version. 21 * 22 * HPT is distributed in the hope that it will be useful, but 23 * WITHOUT ANY WARRANTY; without even the implied warranty of 24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 * General Public License for more details. 26 * 27 * You should have received a copy of the GNU General Public License 28 * along with HPT; see the file COPYING. If not, write to the Free 29 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 30 ***************************************************************************** 31 * $Id$ 32 */ 33 34 #include <fidoconf/fidoconf.h> 35 #include <areafix/areafix.h> 36 #include <global.h> 37 38 s_fidoconfig *config = NULL; 39 char *cfgFile = NULL; 40 s_robot *robot = NULL; 41 42 int initSMAPI = -1; 43 44 /* basic version number */ 45 /* 46 const int VER_MAJOR = 1; 47 const int VER_MINOR = 3; 48 const int VER_PATCH = 0; 49 */ 50 51 /* branch is "" for CVS current, "-stable" for the release candiate branch */ 52 /*const char *VER_BRANCH = ""; */ 53 54 /* The service version string is empty for the first release done from a */ 55 /* release candidate branch. If subsequent service releases are necessary, */ 56 /* single letters are used, like "a", "b", ... */ 57 /*const char *VER_SERVICE = "";*/ 58 59 char *versionStr=NULL; 60 61 char *tossDir=NULL; 62 63 char *linkName=NULL; 64 65 UCHAR *globalBuffer = NULL; 66 67 int cmToss = 0; 68 int cmScan = 0; 69 int cmPack = 0; 70 int cmLink = 0; 71 int cmAfix = 0; 72 int cmNotifyLink = 0; 73 int cmPause = 0; 74 int cmQueue = 0; 75 int noHighWaters = 0; 76 int pkt_count = 0; 77 int pkt_aTime = 0; 78 int quiet = 0; 79 e_relinkType cmRelink = modeNone; 80 81 hs_addr afixAddr = {0,0,0,0}; 82 char *afixCmd = NULL; 83 hs_addr relinkFromAddr = {0,0,0,0}; 84 hs_addr relinkToAddr = {0,0,0,0}; 85 char *relinkPattern = NULL; 86 char *resubscribePatternFile = NULL; 87 88 int lock_fd; 89 int silent_mode = 0; 90 int report_changes = 0; 91 92 time_t globalTime; /* time when hpt was started */ 93