aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fs.h1
-rw-r--r--include/relocation.h2
-rw-r--r--include/shell.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/fs.h b/include/fs.h
index 7987e33..5e41011 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -5,6 +5,7 @@
#define SPM_FSTREE_FLT_CONTAINS 1 << 1
#define SPM_FSTREE_FLT_ENDSWITH 1 << 2
#define SPM_FSTREE_FLT_STARTSWITH 1 << 3
+#define SPM_FSTREE_FLT_RELATIVE 1 << 4
typedef struct {
char *root;
diff --git a/include/relocation.h b/include/relocation.h
index 128b2bd..0868d0f 100644
--- a/include/relocation.h
+++ b/include/relocation.h
@@ -16,6 +16,6 @@ int file_replace_text(char *filename, const char *spattern, const char *sreplace
RelocationEntry **prefixes_read(const char *filename);
void prefixes_free(RelocationEntry **entry);
int prefixes_write(const char *output_file, int mode, char **prefix, const char *tree);
-
+int file_is_metadata(const char *path);
#endif //SPM_RELOCATION_H
diff --git a/include/shell.h b/include/shell.h
index 2d115f9..b8ec859 100644
--- a/include/shell.h
+++ b/include/shell.h
@@ -1,6 +1,7 @@
#ifndef SPM_SHELL_H
#define SPM_SHELL_H
+#define SHELL_INVALID "&;|"
#define SHELL_DEFAULT 1 << 0
#define SHELL_OUTPUT 1 << 1
#define SHELL_BENCHMARK 1 << 2