diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-10 15:28:57 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-10 15:28:57 -0500 |
commit | 1ade521a4261b6e02d0a02622dacbdb2d0ff731a (patch) | |
tree | 9f41a7bfd0b426cc1a0e8b57e0fdc491c0866a0d /include/spm.h | |
parent | 0c13cc71617550940638a143b626c426769c803f (diff) | |
download | spmc-1ade521a4261b6e02d0a02622dacbdb2d0ff731a.tar.gz |
Add relocate_auto()
* Move relocation code out of install()
Diffstat (limited to 'include/spm.h')
-rw-r--r-- | include/spm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spm.h b/include/spm.h index 80db07a..d62cb42 100644 --- a/include/spm.h +++ b/include/spm.h @@ -205,6 +205,7 @@ int tar_extract_file(const char *archive, const char* filename, const char *dest // relocation.c int relocate(const char *filename, const char *_oldstr, const char *_newstr); +void relocate_root(const char *destroot, const char *baseroot); int replace_text(char *data, const char *_spattern, const char *_sreplacement); int file_replace_text(char *filename, const char *spattern, const char *sreplacement); RelocationEntry **prefixes_read(const char *filename); |