From a989bd16c40e04bba5a5404b0ef0cd22f19d2707 Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Sun, 9 Aug 2026 11:54:17 +0000 Subject: now including entertain/chess --- include/hybbx/service.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/hybbx/service.h') diff --git a/include/hybbx/service.h b/include/hybbx/service.h index 4730b8b..b9aa7fa 100644 --- a/include/hybbx/service.h +++ b/include/hybbx/service.h @@ -15,6 +15,8 @@ #include "hybbx/storage.h" #include "hybbx/texts.h" +struct hybbx_parsed_command; + #ifdef __cplusplus extern "C" { #endif @@ -167,6 +169,14 @@ struct hybbx_session *hybbx_service_find_registered_session( struct hybbx_circuit_hub; struct hybbx_circuit_hub *hybbx_service_circuit_hub(hybbx_service_t *service); +/** + * Try plugin on_command interceptors. + * Returns HYBBX_OK if a plugin handled the command, HYBBX_ERR_NOT_FOUND otherwise. + */ +hybbx_result_t hybbx_service_try_plugin_command(hybbx_service_t *service, + struct hybbx_session *session, + const struct hybbx_parsed_command *cmd); + #ifdef __cplusplus } #endif -- cgit v1.3.1