diff options
author | midipix <writeonce@midipix.org> | 2020-01-28 22:32:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:01 +0000 |
commit | 893ea2155b6c45e0f34ce174f0ae030a32487a78 (patch) | |
tree | 35c4be1c4c294bb4a850f097730a55ab48bc3b8d /include | |
parent | a9490ccb9fdf7ef146a7886526f1b1cf6bf2c714 (diff) | |
download | tpax-893ea2155b6c45e0f34ce174f0ae030a32487a78.tar.bz2 tpax-893ea2155b6c45e0f34ce174f0ae030a32487a78.tar.xz |
driver: implemented execution mode logic.
Diffstat (limited to 'include')
-rw-r--r-- | include/tpax/tpax.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index e89076d..c649058 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -22,6 +22,7 @@ extern "C" { #define TPAX_OK 0x00 #define TPAX_USAGE 0x01 #define TPAX_ERROR 0x02 +#define TPAX_FATAL 0x03 /* driver flags */ #define TPAX_DRIVER_VERBOSITY_NONE 0x0000 @@ -33,6 +34,11 @@ extern "C" { #define TPAX_DRIVER_VERSION 0x0010 #define TPAX_DRIVER_DRY_RUN 0x0020 +#define TPAX_DRIVER_EXEC_MODE_LIST 0x0100 +#define TPAX_DRIVER_EXEC_MODE_READ 0x0200 +#define TPAX_DRIVER_EXEC_MODE_WRITE 0x0400 +#define TPAX_DRIVER_EXEC_MODE_COPY 0x0800 + #define TPAX_DRIVER_ANNOTATE_ALWAYS 0x1000 #define TPAX_DRIVER_ANNOTATE_NEVER 0x2000 #define TPAX_DRIVER_ANNOTATE_FULL 0x4000 |