Entropic
2.14.3
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
16
#include <
entropic/types/hooks.h
>
17
18
#ifdef __cplusplus
19
20
namespace
entropic
{
21
39
struct
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
hooks.h
Hook point enum and callback types for engine lifecycle hooks.
entropic_hook_point_t
entropic_hook_point_t
Hook points in the engine lifecycle.
Definition
hooks.h:39
entropic
Activate model on GPU (WARM → ACTIVE).
Definition
bundled_models.h:20
entropic::OutsideRootAccess::optional
@ optional
optional: every escape asks the host's path approver
entropic
interfaces
i_hook_handler.h
Generated by
1.9.8