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 3 of the License, or 8 (at your option) 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, see <http://www.gnu.org/licenses/>. */ 17 18#ifndef _MSGL_CAT_H 19#define _MSGL_CAT_H 20 21#include <stdbool.h> 22 23#include "message.h" 24#include "str-list.h" 25#include "read-catalog-abstract.h" 26 27 28#ifdef __cplusplus 29extern "C" { 30#endif 31 32 33/* These variables control which messages are selected. */ 34extern DLL_VARIABLE int more_than; 35extern DLL_VARIABLE int less_than; 36 37/* If true, use the first available translation. 38 If false, merge all available translations into one and fuzzy it. */ 39extern DLL_VARIABLE bool use_first; 40 41/* If true, merge like msgcomm. 42 If false, merge like msgcat and msguniq. */ 43extern DLL_VARIABLE bool msgcomm_mode; 44 45/* If true, omit the header entry. 46 If false, keep the header entry present in the input. */ 47extern DLL_VARIABLE bool omit_header; 48 49extern msgdomain_list_ty * 50 catenate_msgdomain_list (string_list_ty *file_list, 51 catalog_input_format_ty input_syntax, 52 const char *to_code); 53 54 55#ifdef __cplusplus 56} 57#endif 58 59 60#endif /* _MSGL_CAT_H */ 61