Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
i_hook_handler.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
14#pragma once
15
17
18#ifdef __cplusplus
19
20namespace entropic {
21
39struct HookInterface {
49 int (*fire_pre)(void* registry, entropic_hook_point_t point,
50 const char* context_json, char** out_json) = nullptr;
51
60 void (*fire_post)(void* registry, entropic_hook_point_t point,
61 const char* context_json, char** out_json) = nullptr;
62
70 void (*fire_info)(void* registry, entropic_hook_point_t point,
71 const char* context_json) = nullptr;
72
73 void* registry = nullptr;
74};
75
76} // namespace entropic
77
78#endif
Hook point enum and callback types for engine lifecycle hooks.
entropic_hook_point_t
Hook points in the engine lifecycle.
Definition hooks.h:34
Activate model on GPU (WARM → ACTIVE).