Skip to main content

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); |   |

const char * <var class="pdparam">hook_name</var>; const char * <var class="pdparam">proto</var>;

Description

Retreive an __ec_hook_head which contains the arguments for a hook.

Parameters

hook_name

The hook name.

proto

The hook prototype.

Return Values

This function returns a pointer to a __ec_hook_head struct which contains the hook arguments. For more information see __ec_hook_head.

Threading

It is legal to call this function in any thread.

Was this page helpful?