Blame glib/glib/libcharset/libcharset.h

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