aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-10 15:28:57 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-10 15:28:57 -0500
commit1ade521a4261b6e02d0a02622dacbdb2d0ff731a (patch)
tree9f41a7bfd0b426cc1a0e8b57e0fdc491c0866a0d /include
parent0c13cc71617550940638a143b626c426769c803f (diff)
downloadspmc-1ade521a4261b6e02d0a02622dacbdb2d0ff731a.tar.gz
Add relocate_auto()
* Move relocation code out of install()
Diffstat (limited to 'include')
-rw-r--r--include/spm.h1
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);