1 /* GNU gettext - internationalization aids
2 Copyright (C) 1995-1998, 2000-2003 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 2, or (at your option)
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, write to the Free SoftwareFoundation,
18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
34 /* These functions are used to output a #, flags line. */
36 make_format_description_string (enum is_format is_format
,
37 const char *lang
, bool debug
);
39 significant_format_p (enum is_format is_format
);
42 /* These functions output parts of a message, as comments. */
44 message_print_comment (const message_ty
*mp
, FILE *fp
);
46 message_print_comment_dot (const message_ty
*mp
, FILE *fp
);
48 message_print_comment_filepos (const message_ty
*mp
, FILE *fp
,
49 bool uniforum
, size_t page_width
);
51 message_print_comment_flags (const message_ty
*mp
, FILE *fp
,
54 /* These functions set some parameters for use by 'msgdomain_list_print'. */
56 message_page_width_set (size_t width
);
58 message_page_width_ignore (void);
60 message_print_style_indent (void);
62 message_print_style_uniforum (void);
64 message_print_style_escape (bool flag
);
66 message_print_syntax_properties (void);
68 message_print_syntax_stringtable (void);
70 /* Output MDLP into a PO file with the given FILENAME, according to the
71 parameters set by the functions above. */
73 msgdomain_list_print (msgdomain_list_ty
*mdlp
,
75 bool force
, bool debug
);
77 /* Sort MDLP destructively according to the given criterion. */
79 msgdomain_list_sort_by_msgid (msgdomain_list_ty
*mdlp
);
81 msgdomain_list_sort_by_filepos (msgdomain_list_ty
*mdlp
);
89 #endif /* _WRITE_PO_H */