From: Amaury Denoyelle Date: Thu, 10 Dec 2020 12:43:50 +0000 (+0100) Subject: MINOR: action: define enum for timeout type of the set-timeout rule X-Git-Tag: v2.4-dev3~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a9fc2d10f2e1b7bc83bda1952d95b088d55695f;p=thirdparty%2Fhaproxy.git MINOR: action: define enum for timeout type of the set-timeout rule This enum is used to specify the timeout targetted by a set-timeout rule. --- diff --git a/include/haproxy/action-t.h b/include/haproxy/action-t.h index 36aa5bbdce..73a846f1ce 100644 --- a/include/haproxy/action-t.h +++ b/include/haproxy/action-t.h @@ -93,6 +93,12 @@ enum act_name { ACT_TCP_CLOSE, /* close at the sender's */ }; +/* Timeout name valid for a set-timeout rule */ +enum act_timeout_name { + ACT_TIMEOUT_SERVER, + ACT_TIMEOUT_TUNNEL, +}; + /* NOTE: if <.action_ptr> is defined, the referenced function will always be * called regardless the action type. */ struct act_rule {