1 | /* Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
2 | This file is part of the GNU CHARSET Library.
|
---|
3 |
|
---|
4 | The GNU CHARSET Library is free software; you can redistribute it and/or
|
---|
5 | modify it under the terms of the GNU Library General Public License as
|
---|
6 | published by the Free Software Foundation; either version 2 of the
|
---|
7 | License, or (at your option) any later version.
|
---|
8 |
|
---|
9 | The GNU CHARSET Library is distributed in the hope that it will be useful,
|
---|
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | Library General Public License for more details.
|
---|
13 |
|
---|
14 | You should have received a copy of the GNU Library General Public License
|
---|
15 | along with the GNU CHARSET Library; see the file COPYING.LIB. If not,
|
---|
16 | see <https://www.gnu.org/licenses/>. */
|
---|
17 |
|
---|
18 | #ifndef _LIBCHARSET_H
|
---|
19 | #define _LIBCHARSET_H
|
---|
20 |
|
---|
21 | #include <localcharset.h>
|
---|
22 |
|
---|
23 |
|
---|
24 | #ifdef __cplusplus
|
---|
25 | extern "C" {
|
---|
26 | #endif
|
---|
27 |
|
---|
28 |
|
---|
29 | /* Support for relocatable packages. */
|
---|
30 |
|
---|
31 | /* Sets the original and the current installation prefix of the package.
|
---|
32 | Relocation simply replaces a pathname starting with the original prefix
|
---|
33 | by the corresponding pathname with the current prefix instead. Both
|
---|
34 | prefixes should be directory names without trailing slash (i.e. use ""
|
---|
35 | instead of "/"). */
|
---|
36 | extern void libcharset_set_relocation_prefix (const char *orig_prefix,
|
---|
37 | const char *curr_prefix);
|
---|
38 |
|
---|
39 |
|
---|
40 | #ifdef __cplusplus
|
---|
41 | }
|
---|
42 | #endif
|
---|
43 |
|
---|
44 |
|
---|
45 | #endif /* _LIBCHARSET_H */
|
---|