summaryrefslogtreecommitdiff
path: root/src/internal/tpax_driver_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-10-23 18:19:08 +0000
committermidipix <writeonce@midipix.org>2024-05-19 03:36:18 +0000
commit9f55a17009446a7586a3694edb0b54988e201e7f (patch)
tree6127167b34a675b3482d9c918d213527bb879cb7 /src/internal/tpax_driver_impl.h
parent3179bb713afab5e24853313e36d5fde9b2295238 (diff)
downloadtpax-9f55a17009446a7586a3694edb0b54988e201e7f.tar.bz2
tpax-9f55a17009446a7586a3694edb0b54988e201e7f.tar.xz
item queue: implemented tpax_append_prefix_item().
Diffstat (limited to 'src/internal/tpax_driver_impl.h')
-rw-r--r--src/internal/tpax_driver_impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h
index 5fabb0a..ea02185 100644
--- a/src/internal/tpax_driver_impl.h
+++ b/src/internal/tpax_driver_impl.h
@@ -26,6 +26,9 @@
(TPAX_DRIVER_EXEC_MODE_WRITE | \
TPAX_DRIVER_EXEC_MODE_COPY)
+#define TPAX_ITEM_EXPLICIT 0X1
+#define TPAX_ITEM_IMPLICIT 0X2
+
extern const struct argv_option tpax_default_options[];
enum app_tags {
@@ -46,7 +49,9 @@ enum app_tags {
struct tpax_dirent {
int fdat;
int depth;
+ int flags;
size_t nsize;
+ const char * prefix;
const struct tpax_dirent * parent;
struct dirent dirent;
};
@@ -69,6 +74,10 @@ struct tpax_driver_ctx_impl {
struct tpax_error_info ** erricap;
struct tpax_error_info * erriptr[64];
struct tpax_error_info erribuf[64];
+ char ** prefixv;
+ char ** prefixp;
+ char ** prefcap;
+ char * prefptr[64];
struct tpax_dirent_buffer * dirents;
void * dirbuff;
void * bufaddr;