Skip to main content

Name

module_add_hook_first — Add a hook as the first hook

Synopsis

#include "module-hooks.h"

| ec_atomic_t **module_add_hook_first** ( | name, |   | |   | proto, |   | |   | hook, |   | |   | closure, |   | |   | flags); |   |

const char * <var class="pdparam">name</var>; const char * <var class="pdparam">proto</var>; void * <var class="pdparam">hook</var>; void * <var class="pdparam">closure</var>; int <var class="pdparam">flags</var>;

Description

Note

This function is for internal use only. Use the EC_DECLARE_VOID_HOOK macro or the EC_DECLARE_HOOK macro.

See Also

Was this page helpful?