prf::control::CommandDescriptor struct final

One static command table entry consumed by CommandRegistry/Dispatcher.

Public variables

AuthPolicy auth_policy
Authorization policy evaluated before invoking handler.
HandlerFn handler
Callback invoked on successful route and authorization.
MatchMode match_mode
Lookup semantics for path.
const char* path
Command path prefix or exact path according to match_mode.
void* user_ctx
Opaque module-owned pointer passed back to handler.