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#ifdef BUILDING_LIBCHARSET
23#define LIBCHARSET_DLL_EXPORTED __declspec(dllexport)
24#else
25#define LIBCHARSET_DLL_EXPORTED __declspec(dllimport)
26#endif
27
28#include <localcharset.h>
29
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35
36/* Support for relocatable packages.  */
37
38/* Sets the original and the current installation prefix of the package.
39   Relocation simply replaces a pathname starting with the original prefix
40   by the corresponding pathname with the current prefix instead.  Both
41   prefixes should be directory names without trailing slash (i.e. use ""
42   instead of "/").  */
43extern LIBCHARSET_DLL_EXPORTED void libcharset_set_relocation_prefix (const char *orig_prefix,
44					      const char *curr_prefix);
45
46
47#ifdef __cplusplus
48}
49#endif
50
51
52#endif /* _LIBCHARSET_H */
53