man/l_roff-char.7.in: fix Bernd Warken (Dave Kemper, Werner Lemberg)..
[s-roff.git] / include / relocate.h
blobf0c8616d5fadfc2a833f0e8b18612d85a4ad0a49
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)
10 * any later version.
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.
21 #ifndef _RELOCATE_H
22 #define _RELOCATE_H
24 #include "config.h"
26 #ifdef __cplusplus
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);
33 #endif
35 /* This function has C linkage. */
36 extern
37 #ifdef __cplusplus
38 "C"
39 #endif
40 char *relocatep (const char *path);
42 #ifdef __cplusplus
43 char *relocate (const char *path);
44 #endif
46 #endif // _RELOCATE_H
47 // s-it2-mode