scpt_compile_hook_callout
Name
scpt_compile_hook_callout — Compile and register a scriptlet hook implementation entrypoint
Synopsis
#include "modules/scriptlets/ec_scriptlet.h"
| int **scpt_compile_hook_callout** (
| hookname, | |
| | coptr)
; | |
const char * <var class="pdparam">hookname</var>
;
scpt_callout ** <var class="pdparam">coptr</var>
;
Description
**Configuration Change. ** This feature is available starting from Momentum 3.2.
Compile and register a scriptlet hook implementation entrypoint.
Similar to scpt_compile_callout, except that the hook signature will be queried from the hook subsystem.
- hookname
-
The name of the hook.
- coptr
-
The location of the pointer to the callout.
On success this function returns 1
; On failure, 0
is returned.
It is legal to call this function in any thread.