Skip to main content

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.

Parameters

hookname

The name of the hook.

coptr

The location of the pointer to the callout.

Return Value

On success this function returns 1; On failure, 0 is returned.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?