|
|
| version 1.1, 2012/02/21 22:57:48 | version 1.1.1.2, 2012/05/29 09:29:42 |
|---|---|
| Line 1 | Line 1 |
| /* Provide relocatable packages. | /* Provide relocatable packages. |
| Copyright (C) 2003, 2005, 2008 Free Software Foundation, Inc. | Copyright (C) 2003, 2005, 2008-2011 Free Software Foundation, Inc. |
| Written by Bruno Haible <bruno@clisp.org>, 2003. | Written by Bruno Haible <bruno@clisp.org>, 2003. |
| This program is free software; you can redistribute it and/or modify it | This program is free software; you can redistribute it and/or modify it |
| Line 46 extern "C" { | Line 46 extern "C" { |
| instead of "/"). */ | instead of "/"). */ |
| extern RELOCATABLE_DLL_EXPORTED void | extern RELOCATABLE_DLL_EXPORTED void |
| set_relocation_prefix (const char *orig_prefix, | set_relocation_prefix (const char *orig_prefix, |
| const char *curr_prefix); | const char *curr_prefix); |
| /* Returns the pathname, relocated according to the current installation | /* Returns the pathname, relocated according to the current installation |
| directory. | directory. |
| Line 65 extern const char * relocate (const char *pathname); | Line 65 extern const char * relocate (const char *pathname); |
| file, and the current pathname of this file. | file, and the current pathname of this file. |
| Returns it, freshly allocated. Returns NULL upon failure. */ | Returns it, freshly allocated. Returns NULL upon failure. */ |
| extern char * compute_curr_prefix (const char *orig_installprefix, | extern char * compute_curr_prefix (const char *orig_installprefix, |
| const char *orig_installdir, | const char *orig_installdir, |
| const char *curr_pathname); | const char *curr_pathname); |
| #else | #else |