diff -r f1d29785ad2d -r 0b42a35d6add src/server/util/object.h --- a/src/server/util/object.h Mon Nov 07 22:30:12 2022 +0100 +++ b/src/server/util/object.h Tue Nov 08 22:35:18 2022 +0100 @@ -86,7 +86,9 @@ struct Condition { Condition *parent; + Condition *ifnot; Expression *expression; + int depth; int index; // used by NSAPIContext to link expression with result }; @@ -167,8 +169,6 @@ */ void nsapi_context_next_stage(NSAPIContext *context); -Condition* condition_from_str(pool_handle_t *pool, char *expr, size_t len); -Expression* expression_from_str(pool_handle_t *pool, char *expr, size_t len); int condition_evaluate(Condition *condition, Session *sn, Request *rq);