1 /* 2 * $Id$ 3 * 4 * Copyright (C) 1993-1999 by Jochen Wiedmann and Marcin Orlowski 5 * Copyright (C) 2002-2015 FlexCat Open Source Team 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or (at 10 * your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 * 21 */ 22 23 #include "flexcat.h" 24 #include "SDI_compiler.h" 25 26 /// Globals 27 char *BaseName = NULL; /* Basename of catalog description */ 28 const char *Language = "english"; /* Language of catalog description */ 29 int CatVersion = 0; /* Version of catalog to be opened */ 30 int CatRevision = 0; /* Revision of catalog to be opened */ 31 int NumStrings = 0; /* Number of catalog strings */ 32 char *ScanFile; /* File currently scanned */ 33 int ScanLine; /* Line currently scanned */ 34 int GlobalReturnCode = 0; /* Will be 5 if warnings appear */ 35 int NumberOfWarnings = 0; /* We count warnings to be smart 36 and avoid Beep bombing, but 37 call DisplayBeep() only once */ 38 int buffer_size = 2048; /* Size of the I/O buffer */ 39 40 const char USED_VAR versionCookie[] = VERSTAG; 41 42 /// 43