From b2e31a6e7493c56f923cb7d86f7a8a32940393ec Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Wed, 7 Jun 2023 14:07:23 +0200 Subject: seitan,cooker: op_resolvefd ops: - update resolvefd with the description - add debug prints cooker: - add emit_resolvefd when match has type FDPATH --- common/gluten.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'common') 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; }; -- cgit v1.2.3