module_add_hook_last

March 26, 2020

Name

module_add_hook_last — Add a hook as the last hook

Synopsis

#include "module-hooks.h"

| ec_atomic_t **module_add_hook_last** ( | 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

Hooking API and EC_DECLARE_HOOK