1 /* Header describing internals of gettext library
2 Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
3 Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
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)
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. */
24 /* @@ end of prolog @@ */
28 # define PARAMS(args) args
30 # define PARAMS(args) ()
34 #ifndef internal_function
35 # define internal_function
39 # define W(flag, data) ((flag) ? SWAP (data) : (data))
44 # include <byteswap.h>
45 # define SWAP(i) bswap_32 (i)
47 static nls_uint32 SWAP
PARAMS ((nls_uint32 i
));
49 static inline nls_uint32
53 return (i
<< 24) | ((i
& 0xff00) << 8) | ((i
>> 8) & 0xff00) | (i
>> 24);
65 struct string_desc
*orig_tab
;
66 struct string_desc
*trans_tab
;
78 struct loaded_l10nfile
*_nl_find_domain
PARAMS ((const char *__dirname
,
80 const char *__domainname
))
82 void _nl_load_domain
PARAMS ((struct loaded_l10nfile
*__domain
))
84 void _nl_unload_domain
PARAMS ((struct loaded_domain
*__domain
))
87 /* @@ begin of epilog @@ */
89 #endif /* gettextP.h */