aboutsummaryrefslogtreecommitdiff
path: root/include/relocation.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
commit17178535cc9df5e834dfd43e3b2b919e02e5798d (patch)
tree5e55e8b2c2453ccf6271b190cf45e90d2c25179d /include/relocation.h
downloadstasis-17178535cc9df5e834dfd43e3b2b919e02e5798d.tar.gz
Initial commit
Diffstat (limited to 'include/relocation.h')
-rw-r--r--include/relocation.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/relocation.h b/include/relocation.h
new file mode 100644
index 0000000..ecbb38b
--- /dev/null
+++ b/include/relocation.h
@@ -0,0 +1,16 @@
+/**
+ * @file relocation.h
+ */
+#ifndef OHMYCAL_RELOCATION_H
+#define OHMYCAL_RELOCATION_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <linux/limits.h>
+#include <unistd.h>
+
+void replace_text(char *original, const char *target, const char *replacement);
+void file_replace_text(const char* filename, const char* target, const char* replacement);
+
+#endif //OHMYCAL_RELOCATION_H