transmision: upgrade 2.22 -> 2.31
[tomato.git] / release / src / router / gettext / gettext-tools / src / msgl-cat.h
blob26749078c1b319b77f393d2ad52b096d26b46bae
1 /* Message list concatenation and duplicate handling.
2 Copyright (C) 2001-2003 Free Software Foundation, Inc.
3 Written by Bruno Haible <haible@clisp.cons.org>, 2001.
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.
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.
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. */
19 #ifndef _MSGL_CAT_H
20 #define _MSGL_CAT_H
22 #include <stdbool.h>
24 #include "message.h"
25 #include "str-list.h"
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
33 /* These variables control which messages are selected. */
34 extern DLL_VARIABLE int more_than;
35 extern DLL_VARIABLE int less_than;
37 /* If true, use the first available translation.
38 If false, merge all available translations into one and fuzzy it. */
39 extern DLL_VARIABLE bool use_first;
41 /* If true, merge like msgcomm.
42 If false, merge like msgcat and msguniq. */
43 extern DLL_VARIABLE bool msgcomm_mode;
45 /* If true, omit the header entry.
46 If false, keep the header entry present in the input. */
47 extern DLL_VARIABLE bool omit_header;
49 extern msgdomain_list_ty *
50 catenate_msgdomain_list (string_list_ty *file_list,
51 const char *to_code);
54 #ifdef __cplusplus
56 #endif
59 #endif /* _MSGL_CAT_H */