[191] | 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 | write to the Free Software Foundation, Inc., 51 Franklin Street, |
---|
| 17 | Fifth Floor, Boston, MA 02110-1301, USA. */ |
---|
| 18 | |
---|
| 19 | #ifndef _LIBCHARSET_H |
---|
| 20 | #define _LIBCHARSET_H |
---|
| 21 | |
---|
| 22 | #include <localcharset.h> |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | #ifdef __cplusplus |
---|
| 26 | extern "C" { |
---|
| 27 | #endif |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | /* Support for relocatable packages. */ |
---|
| 31 | |
---|
| 32 | /* Sets the original and the current installation prefix of the package. |
---|
| 33 | Relocation simply replaces a pathname starting with the original prefix |
---|
| 34 | by the corresponding pathname with the current prefix instead. Both |
---|
| 35 | prefixes should be directory names without trailing slash (i.e. use "" |
---|
| 36 | instead of "/"). */ |
---|
| 37 | extern void libcharset_set_relocation_prefix (const char *orig_prefix, |
---|
| 38 | const char *curr_prefix); |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | #ifdef __cplusplus |
---|
| 42 | } |
---|
| 43 | #endif |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | #endif /* _LIBCHARSET_H */ |
---|