Merge branch 'master' into boehm-demers-weiser-gc
[bpt/guile.git] / libguile / gettext.h
1 /* classes: h_files */
2
3 #ifndef SCM_GETTEXT_H
4 #define SCM_GETTEXT_H
5
6 /* Copyright (C) 2004, 2006, 2008 Free Software Foundation, Inc.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23 #include "libguile/__scm.h"
24
25 SCM_API SCM scm_gettext (SCM msgid, SCM domainname, SCM category);
26 SCM_API SCM scm_ngettext (SCM msgid, SCM msgid_plural, SCM n, SCM domainname, SCM category);
27 SCM_API SCM scm_textdomain (SCM domainname);
28 SCM_API SCM scm_bindtextdomain (SCM domainname, SCM directory);
29 SCM_API SCM scm_bind_textdomain_codeset (SCM domainname, SCM encoding);
30
31 SCM_INTERNAL int scm_i_to_lc_category (SCM category, int allow_lc_all);
32
33 SCM_INTERNAL void scm_init_gettext (void);
34
35 #endif /* SCM_GETTEXT_H */
36
37 /*
38 Local Variables:
39 c-file-style: "gnu"
40 End:
41 */