aboutgitcodelistschat:MatrixIRC
path: root/common
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-06-07 14:07:23 +0200
committerAlice Frosi <afrosi@redhat.com>2023-06-07 15:35:59 +0200
commitb2e31a6e7493c56f923cb7d86f7a8a32940393ec (patch)
tree764d0d6e5853be5b1d99bd0207ffa8f382c4f7cb /common
parent9812b2002de051f0051383365b2fb9863885bb60 (diff)
downloadseitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.gz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.bz2
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.lz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.xz
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.tar.zst
seitan-b2e31a6e7493c56f923cb7d86f7a8a32940393ec.zip
seitan,cooker: op_resolvefd
ops: - update resolvefd with the description - add debug prints cooker: - add emit_resolvefd when match has type FDPATH
Diffstat (limited to 'common')
-rw-r--r--common/gluten.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/common/gluten.h b/common/gluten.h
index edb447c..a50687f 100644
--- a/common/gluten.h
+++ b/common/gluten.h
@@ -217,11 +217,14 @@ struct op_mask {
struct gluten_offset desc; /* struct mask_desc */
};
-struct op_resolvedfd {
- struct gluten_offset fd;
- struct gluten_offset path;
- size_t path_size;
- unsigned int jmp;
+struct resolvefd_desc {
+ struct gluten_offset fd;
+ struct gluten_offset path;
+ size_t path_max;
+};
+
+struct op_resolvefd {
+ struct gluten_offset desc;
};
struct op_copy {
@@ -241,7 +244,7 @@ struct op {
struct op_load load;
struct op_mask mask;
struct op_cmp cmp;
- struct op_resolvedfd resfd;
+ struct op_resolvefd resfd;
struct op_copy copy;
} op;
};