2 /* Provide relocation for macro and font files.
4 Copyright (C) 2005-2014 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU Library General Public License as published
8 by the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 extern char *curr_prefix;
21 extern size_t curr_prefix_len;
23 void set_current_prefix ();
24 char *xdirname (char *s);
25 char *searchpath (const char *name, const char *pathp);
28 /* This function has C linkage. */
33 char *relocatep (const char *path);
36 char *relocate (const char *path);