Merge branch 'test-ip_mreq_source-android-only' into 'master'
[glib.git] / glib / libcharset / libcharset.h
blob686241e742c33f0e21e28a28e385a0158a91ba70
1 /* Copyright (C) 2003 Free Software Foundation, Inc.
2 This file is part of the GNU CHARSET Library.
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.
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.
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. */
19 #ifndef _LIBCHARSET_H
20 #define _LIBCHARSET_H
22 #include "localcharset.h"
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
30 /* Support for relocatable packages. */
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);
41 #ifdef __cplusplus
43 #endif
46 #endif /* _LIBCHARSET_H */