1 /***************************************************************************** 2 * HTICK --- FTN Ticker / Request Processor 3 ***************************************************************************** 4 * Copyright (C) 1999 by 5 * 6 * Gabriel Plutzar 7 * 8 * Fido: 2:31/1 9 * Internet: gabriel@hit.priv.at 10 * 11 * Vienna, Austria, Europe 12 * 13 * This file is part of HTICK, which is based on HPT by Matthias Tichy, 14 * 2:2432/605.14 2:2433/1245, mtt@tichy.de 15 * 16 * HTICK is free software; you can redistribute it and/or modify it 17 * under the terms of the GNU General Public License as published by the 18 * Free Software Foundation; either version 2, or (at your option) any 19 * later version. 20 * 21 * HTICK is distributed in the hope that it will be useful, but 22 * WITHOUT ANY WARRANTY; without even the implied warranty of 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24 * General Public License for more details. 25 * 26 * You should have received a copy of the GNU General Public License 27 * along with HTICK; see the file COPYING. If not, write to the Free 28 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 29 ***************************************************************************** 30 * $Id$ 31 *****************************************************************************/ 32 33 #include <string.h> 34 35 #include <fidoconf/fidoconf.h> 36 #include <areafix/areafix.h> 37 #include <global.h> 38 39 s_log *htick_log; 40 s_fidoconfig *config; 41 unsigned char quiet = 0; 42 char *cfgFile = NULL; 43 s_robot *robot = NULL; 44 45 char *versionStr = NULL; 46 47 int cmToss = 0; 48 int cmScan = 0; 49 int cmHatch = 0; 50 int cmSend = 0; 51 int cmFlist = 0; 52 int cmClean = 0; 53 int cmAfix = 0; 54 int cmNotifyLink = 0; 55 e_relinkType cmRelink = modeNone; 56 57 char *flistfile = NULL; 58 char *dlistfile = NULL; 59 60 s_ticfile *hatchInfo = NULL; 61 62 63 char sendfile[256]; 64 char sendarea[256]; 65 char sendaddr[256]; 66 67 int cmAnnounce = 0; 68 char announceArea[256]; 69 70 int cmAnnNewFileecho = 0; 71 char announcenewfileecho[256]; 72 73 int lock_fd; 74 75 hs_addr afixAddr = { 0 }; 76 char *afixCmd = NULL; 77 hs_addr relinkFromAddr = {0,0,0,0}; 78 hs_addr relinkToAddr = {0,0,0,0}; 79 char *relinkPattern = NULL; 80 char *resubscribePatternFile = NULL; 81