diff options
author | midipix <writeonce@midipix.org> | 2024-07-18 03:30:36 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-07-18 05:08:24 +0000 |
commit | df2d16faa681af8770e63c5e3f9307ba12bd9685 (patch) | |
tree | 198382f12408d687af21dd1e6b3e394b33d3686a /include | |
parent | 2569fba5f0afcdb5c459e76e1d11a15191af0a37 (diff) | |
download | tpax-df2d16faa681af8770e63c5e3f9307ba12bd9685.tar.bz2 tpax-df2d16faa681af8770e63c5e3f9307ba12bd9685.tar.xz |
library api's: defined source data flags.
Diffstat (limited to 'include')
-rw-r--r-- | include/tpax/tpax.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index 1ea9887..bb6aae7 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -63,6 +63,17 @@ extern "C" { #define TPAX_DRIVER_STRICT_DEVICE_ID 0X10000000 +/* source data flags */ +#define TPAX_SOURCE_DATA_NONE 0x0000 +#define TPAX_SOURCE_DATA_PENDING 0x0001 +#define TPAX_SOURCE_DATA_OPENED 0x0002 +#define TPAX_SOURCE_DATA_CLOSED 0x0004 + +#define TPAX_SOURCE_DATA_FILEIO 0X0010 +#define TPAX_SOURCE_DATA_MAPPED 0x0020 +#define TPAX_SOURCE_DATA_CACHED 0x0040 +#define TPAX_SOURCE_DATA_ERROR 0x0080 + /* error flags */ #define TPAX_ERROR_TOP_LEVEL 0x0001 #define TPAX_ERROR_NESTED 0x0002 @@ -119,6 +130,7 @@ struct tpax_common_ctx { uint64_t drvflags; uint64_t actflags; uint64_t fmtflags; + uint64_t srcflags; uint32_t blksize; }; |