module_get_hook_head
Last updated March 2020
Name
module_get_hook_head — Fetch the arguments for a hook
Synopsis
#include "module-hooks.h"
| (struct __ec_hook_head *) **module_get_hook_head** (
| hook_name, | |
| | proto)
; | |
Description
Retreive an __ec_hook_head which contains the arguments for a hook.
- hook_name
-
The hook name.
- proto
-
The hook prototype.
This function returns a pointer to a __ec_hook_head struct which contains the hook arguments. For more information see __ec_hook_head.
It is legal to call this function in any thread.
Was this page helpful?