1 /* The source file position. 2 Copyright (C) 1995-2018 Free Software Foundation, Inc. 3 4 This program is free software: you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 3 of the License, or 7 (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 16 17 #ifndef _XGETTEXT_POS_H 18 #define _XGETTEXT_POS_H 19 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 /* These variables are set by the extractor and used by the extractor and 26 its auxiliary functions. They are *not* meant to be used by xgettext.c. */ 27 28 29 /* Real filename, used in error messages about the input file. */ 30 extern const char *real_file_name; 31 32 /* Logical filename and line number, used to label the extracted messages. */ 33 extern char *logical_file_name; 34 extern int line_number; 35 36 37 38 #ifdef __cplusplus 39 } 40 #endif 41 42 43 #endif /* _XGETTEXT_POS_H */ 44