__ec_hook_head

March 26, 2020 Contributors

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.

See Also

module_get_hook_array_from_transaction and module_get_hook_head