diff options
author | midipix <writeonce@midipix.org> | 2020-02-01 22:26:20 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:02 +0000 |
commit | efbaf8132d09a6bd26b64556291a7ff62fd413b9 (patch) | |
tree | 875032f05fb8c2b8d881c1105cd25e692fc6093d /include | |
parent | 239ac5c3f246a737d7b70817319a37d6cece8a69 (diff) | |
download | tpax-efbaf8132d09a6bd26b64556291a7ff62fd413b9.tar.bz2 tpax-efbaf8132d09a6bd26b64556291a7ff62fd413b9.tar.xz |
driver: --strict-path-input, --pure-path-output: initial support.
Diffstat (limited to 'include')
-rw-r--r-- | include/tpax/tpax.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index a06a1e5..059dbac 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -51,6 +51,8 @@ extern "C" { #define TPAX_DRIVER_WRITE_FORMAT_RUSTAR 0x80000 #define TPAX_DRIVER_DIR_MEMBER_RECURSE 0x100000 +#define TPAX_DRIVER_STRICT_PATH_INPUT 0x200000 +#define TPAX_DRIVER_PURE_PATH_OUTPUT 0x400000 /* error flags */ #define TPAX_ERROR_TOP_LEVEL 0x0001 @@ -63,6 +65,7 @@ enum tpax_custom_error { TPAX_ERR_FLEE_ERROR, TPAX_ERR_NULL_CONTEXT, TPAX_ERR_BAD_DATA, + TPAX_ERR_FORBIDDEN_PATH, TPAX_ERR_CAP, }; |