jpayne@69: /* Copyright (C) 2003 Free Software Foundation, Inc. jpayne@69: This file is part of the GNU CHARSET Library. jpayne@69: jpayne@69: The GNU CHARSET Library is free software; you can redistribute it and/or jpayne@69: modify it under the terms of the GNU Lesser General Public License as jpayne@69: published by the Free Software Foundation; either version 2 of the jpayne@69: License, or (at your option) any later version. jpayne@69: jpayne@69: The GNU CHARSET Library is distributed in the hope that it will be useful, jpayne@69: but WITHOUT ANY WARRANTY; without even the implied warranty of jpayne@69: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU jpayne@69: Lesser General Public License for more details. jpayne@69: jpayne@69: You should have received a copy of the GNU Lesser General Public License jpayne@69: along with the GNU CHARSET Library; see the file COPYING.LIB. If not, jpayne@69: see . */ jpayne@69: jpayne@69: #ifndef _LIBCHARSET_H jpayne@69: #define _LIBCHARSET_H jpayne@69: jpayne@69: #include jpayne@69: jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* Support for relocatable packages. */ jpayne@69: jpayne@69: /* Sets the original and the current installation prefix of the package. jpayne@69: Relocation simply replaces a pathname starting with the original prefix jpayne@69: by the corresponding pathname with the current prefix instead. Both jpayne@69: prefixes should be directory names without trailing slash (i.e. use "" jpayne@69: instead of "/"). */ jpayne@69: extern void libcharset_set_relocation_prefix (const char *orig_prefix, jpayne@69: const char *curr_prefix); jpayne@69: jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: #endif /* _LIBCHARSET_H */