Debian Codegraph @

libcpath/libcpath_support.h

raw symbols SCIP
1 /*
2 * Support functions
3 *
4 * Copyright (C) 2008-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( _LIBCPATH_SUPPORT_H )
23 #define _LIBCPATH_SUPPORT_H
24
25 #include <common.h>
26 #include <types.h>
27
28 #include "libcpath_extern.h"
29 #include "libcpath_libcerror.h"
30
31 #if defined( __cplusplus )
32 extern "C" {
33 #endif
34
35 #if !defined( HAVE_LOCAL_LIBCPATH )
36
37 LIBCPATH_EXTERN \
38 const char *libcpath_get_version(
39 void );
40
41 LIBCPATH_EXTERN \
42 int libcpath_get_codepage(
43 int *codepage,
44 libcerror_error_t **error );
45
46 LIBCPATH_EXTERN \
47 int libcpath_set_codepage(
48 int codepage,
49 libcerror_error_t **error );
50
51 #endif /* !defined( HAVE_LOCAL_LIBCPATH ) */
52
53 #if defined( __cplusplus )
54 }
55 #endif
56
57 #endif /* !defined( _LIBCPATH_SUPPORT_H ) */
58