From: Christopher Faulet Date: Wed, 23 Apr 2025 14:30:50 +0000 (+0200) Subject: CLEANUP: applet: Update st0/st1 comment in appctx structure X-Git-Tag: v3.2-dev12~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742dc01537c3796ccde3553d28864bcb22f5dec6;p=thirdparty%2Fhaproxy.git CLEANUP: applet: Update st0/st1 comment in appctx structure Today, these states are used by almost all applets. So update the comments of these fields. --- diff --git a/include/haproxy/applet-t.h b/include/haproxy/applet-t.h index cbd89c476..f28dee4ec 100644 --- a/include/haproxy/applet-t.h +++ b/include/haproxy/applet-t.h @@ -101,8 +101,8 @@ struct applet { struct appctx { enum obj_type obj_type; /* OBJ_TYPE_APPCTX */ /* 3 unused bytes here */ - unsigned int st0; /* CLI state for stats, session state for peers */ - unsigned int st1; /* prompt/payload (bitwise OR of APPCTX_CLI_ST1_*) for stats, session error for peers */ + unsigned int st0; /* Main applet state. May be used by any applet */ + unsigned int st1; /* Applet substate. Mau be used by any applet */ unsigned int flags; /* APPCTX_FL_* */ struct buffer inbuf;