1 /* GNU gettext - internationalization aids
2 Copyright (C) 1995-1998, 2000-2003, 2006, 2008 Free Software Foundation, Inc.
4 This file was written by Peter Miller <millerp@canb.auug.org.au>
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
33 /* These functions are used to output a #, flags line. */
35 make_format_description_string (enum is_format is_format,
36 const char *lang, bool debug);
38 significant_format_p (enum is_format is_format);
41 make_range_description_string (struct argument_range range);
43 /* These functions output parts of a message, as comments. */
45 message_print_comment (const message_ty *mp, ostream_t stream);
47 message_print_comment_dot (const message_ty *mp, ostream_t stream);
49 message_print_comment_filepos (const message_ty *mp, ostream_t stream,
50 bool uniforum, size_t page_width);
52 message_print_comment_flags (const message_ty *mp, ostream_t stream,
55 /* These functions set some parameters for use by 'output_format_po.print'. */
57 message_page_width_ignore (void);
59 message_print_style_indent (void);
61 message_print_style_uniforum (void);
63 message_print_style_escape (bool flag);
65 /* Describes a PO file in .po syntax. */
66 extern DLL_VARIABLE const struct catalog_output_format output_format_po;
74 #endif /* _WRITE_PO_H */