The members of this structure are as folllows:
struct __ec_hookarg {
struct __ec_hookarg *next;
char *type_name;
char *arg_name;
int arg_size;
};
struct __ec_hook_head {
char *hook_name;
char *hook_proto;
char *decl_proto;
struct __ec_hookarg *args;
/** @deprecated */
ec_atomic_t arrlock;
/** @deprecated */
struct __ec_hookarray *arr;
ec_atomic_t hook_id;
};
To use this struct, include the file module-hooks.h
.
Was this page helpful?