diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-17 00:13:30 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-17 00:13:30 -0500 |
commit | 1c2cdc4d8e28ce1b4c0d1ba75686f05fd5dd772d (patch) | |
tree | 32257d5a12cc0dc06c62e4212806573477065080 /include | |
parent | b5dc6f2c428b4555d3e56e628605f54e4a63b16e (diff) | |
download | spmc-1c2cdc4d8e28ce1b4c0d1ba75686f05fd5dd772d.tar.gz |
Refactor continues:
* Implement multiple manifests
* Random bug fixes
* More bugs added
* Start removing references to SPM_GLOBAL.package_dir
* Start using manifests for everything
* Simplify mkmanifest_interface
Diffstat (limited to 'include')
-rw-r--r-- | include/fs.h | 1 | ||||
-rw-r--r-- | include/relocation.h | 2 | ||||
-rw-r--r-- | include/shell.h | 1 |
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 |