/***************************************************************************** * HTICK --- FTN Ticker / Request Processor ***************************************************************************** * Copyright (C) 1999 by * * Gabriel Plutzar * * Fido: 2:31/1 * Internet: gabriel@hit.priv.at * * Vienna, Austria, Europe * * This file is part of HTICK, which is based on HPT by Matthias Tichy, * 2:2432/605.14 2:2433/1245, mtt@tichy.de * * HTICK is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2, or (at your option) any * later version. * * HTICK is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HTICK; see the file COPYING. If not, write to the Free * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ***************************************************************************** * $Id: global.c,v 1.18.2.6 2003/05/30 08:40:40 sfpavel Exp $ *****************************************************************************/ #include #include s_log *htick_log; s_fidoconfig *config; unsigned char quiet=0; char *print_ch(int len, char ch) { static char tmp[256]; memset(tmp, ch, len); tmp[len]=0; return tmp; } const int VER_MAJOR = 1; const int VER_MINOR = 0; const int VER_PATCH = 4; /* branch is "" for CVS current, "-stable" for the release candiate branch */ const char *VER_BRANCH = "-release"; /* The service version string is empty for the first release done from a */ /* release candidate branch. If subsequent service releases are necessary, */ /* single letters are used, like "a", "b", ... */ const char *VER_SERVICE = ""; char *versionStr=NULL; int cmToss = 0; int cmScan = 0; int cmHatch = 0; int hatchReplace = 0; int cmSend = 0; int cmFlist = 0; int cmClean = 0; int cmAfix = 0; char *flistfile = NULL; char *dlistfile = NULL; char hatchfile[256]; char hatcharea[256]; char hatchdesc[256]; char replaceMask[256]; char sendfile[256]; char sendarea[256]; char sendaddr[256]; int cmAnnounce = 0; char announceArea[256]; int cmAnnFile = 0; char announcefile[256]; int cmAnnNewFileecho = 0; char announcenewfileecho[256]; int lock_fd; char *_lockfile=NULL; s_addr afixAddr = {0,0,0,0}; char *afixCmd = NULL;