1151497Sru// -*- C++ -*- 2151497Sru/* Provide relocation for macro and font files. 3151497Sru Copyright (C) 2005 Free Software Foundation, Inc. 4151497Sru 5151497Sru This program is free software; you can redistribute it and/or modify it 6151497Sru under the terms of the GNU Library General Public License as published 7151497Sru by the Free Software Foundation; either version 2, or (at your option) 8151497Sru any later version. 9151497Sru 10151497Sru This program is distributed in the hope that it will be useful, 11151497Sru but WITHOUT ANY WARRANTY; without even the implied warranty of 12151497Sru MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13151497Sru Library General Public License for more details. 14151497Sru 15151497Sru You should have received a copy of the GNU Library General Public 16151497Sru License along with this program; if not, write to the Free Software 17151497Sru Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, 18151497Sru USA. */ 19151497Sru 20151497Sruextern char *curr_prefix; 21151497Sruextern size_t curr_prefix_len; 22151497Sru 23151497Sruvoid set_current_prefix (); 24151497Sruchar *xdirname (char *s); 25151497Sruchar *searchpath (const char *name, const char *pathp); 26151497Sruchar *relocatep (const char *path); 27151497Sruchar *relocate (const char *path); 28