1 /*@ Provide relocation for macro and font files. FIXME please
3 * Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
5 * Copyright (C) 2005 - 2006 Free Software Foundation, Inc.
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)
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.
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, USA.
27 extern char *curr_prefix
;
28 extern size_t curr_prefix_len
;
30 void set_current_prefix ();
31 char *xdirname (char *s
);
32 char *searchpath (const char *name
, const char *pathp
);
35 /* This function has C linkage. */
40 char *relocatep (const char *path
);
43 char *relocate (const char *path
);