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.
This commit is contained in:
Christopher Faulet 2025-04-23 16:30:50 +02:00
parent 44ace9a1b7
commit 742dc01537

View File

@ -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;