MCPcopy Create free account
hub / github.com/RunanywhereAI/RCLI / rcli_set_state_callback

Function rcli_set_state_callback

src/api/rcli_api.cpp:2832–2837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2830}
2831
2832void rcli_set_state_callback(RCLIHandle handle, RCLIStateCallback cb, void* user_data) {
2833 if (!handle) return;
2834 auto* engine = static_cast<RCLIEngine*>(handle);
2835 engine->state_cb = cb;
2836 engine->state_ud = user_data;
2837}
2838
2839void rcli_set_action_callback(RCLIHandle handle, RCLIActionCallback cb, void* user_data) {
2840 if (!handle) return;

Callers 3

cmd_interactiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected