#pragma once #include "jvs/jvs-bus.h" struct jvs_config { bool enable; uint8_t port; }; typedef HRESULT (*jvs_provider_t)(struct jvs_node **root); HRESULT jvs_hook_init(const struct jvs_config *cfg, jvs_provider_t provider);