1 /* Message list concatenation and duplicate handling. 2 Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc. 3 Written by Bruno Haible <haible@clisp.cons.org>, 2001. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2, or (at your option) 8 any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software Foundation, 17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 18 19 #ifndef _MSGL_CAT_H 20 #define _MSGL_CAT_H 21 22 #include <stdbool.h> 23 24 #include "message.h" 25 #include "str-list.h" 26 #include "read-catalog-abstract.h" 27 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 34 /* These variables control which messages are selected. */ 35 extern DLL_VARIABLE int more_than; 36 extern DLL_VARIABLE int less_than; 37 38 /* If true, use the first available translation. 39 If false, merge all available translations into one and fuzzy it. */ 40 extern DLL_VARIABLE bool use_first; 41 42 /* If true, merge like msgcomm. 43 If false, merge like msgcat and msguniq. */ 44 extern DLL_VARIABLE bool msgcomm_mode; 45 46 /* If true, omit the header entry. 47 If false, keep the header entry present in the input. */ 48 extern DLL_VARIABLE bool omit_header; 49 50 extern msgdomain_list_ty * 51 catenate_msgdomain_list (string_list_ty *file_list, 52 catalog_input_format_ty input_syntax, 53 const char *to_code); 54 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 61 #endif /* _MSGL_CAT_H */ 62