Debian Codegraph @

libclocale/libclocale_locale.h

raw symbols SCIP
1 /*
2 * Locale functions
3 *
4 * Copyright (C) 2010-2024, Joachim Metz <[email protected]>
5 *
6 * Refer to AUTHORS for acknowledgements.
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program 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
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #if !defined( _LIBCLOCALE_LOCALE_H )
23 #define _LIBCLOCALE_LOCALE_H
24
25 #include <common.h>
26 #include <types.h>
27
28 #include "libclocale_extern.h"
29 #include "libclocale_libcerror.h"
30
31 #if defined( __cplusplus )
32 extern "C" {
33 #endif
34
35 #if defined( WINAPI ) && ( WINVER < 0x0500 )
36
37 int libclocale_GetLocaleInfo(
38 LCID locale_identifier,
39 LCTYPE locale_type,
40 LPSTR buffer,
41 int size );
42
43 #endif /* defined( WINAPI ) && ( WINVER < 0x0500 ) */
44
45 int libclocale_locale_get_codepage_from_charset(
46 int *codepage,
47 char *charset,
48 size_t charset_length,
49 libcerror_error_t **error );
50
51 LIBCLOCALE_EXTERN \
52 int libclocale_locale_get_codepage(
53 int *codepage,
54 libcerror_error_t **error );
55
56 LIBCLOCALE_EXTERN \
57 int libclocale_locale_get_decimal_point(
58 int *decimal_point,
59 libcerror_error_t **error );
60
61 #if defined( __cplusplus )
62 }
63 #endif
64
65 #endif /* !defined( _LIBCLOCALE_LOCALE_H ) */
66