1 /* $NetBSD: relocate.h,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 2 3 // -*- C++ -*- 4 /* Provide relocation for macro and font files. 5 Copyright (C) 2005 Free Software Foundation, Inc. 6 7 This program is free software; you can redistribute it and/or modify it 8 under the terms of the GNU Library General Public License as published 9 by the Free Software Foundation; either version 2, or (at your option) 10 any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 Library General Public License for more details. 16 17 You should have received a copy of the GNU Library General Public 18 License along with this program; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, 20 USA. */ 21 22 extern char *curr_prefix; 23 extern size_t curr_prefix_len; 24 25 void set_current_prefix (); 26 char *xdirname (char *s); 27 char *searchpath (const char *name, const char *pathp); 28 char *relocatep (const char *path); 29 char *relocate (const char *path); 30