From 1ade521a4261b6e02d0a02622dacbdb2d0ff731a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 10 Feb 2020 15:28:57 -0500 Subject: Add relocate_auto() * Move relocation code out of install() --- include/spm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/spm.h') 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); -- cgit