hook_type
void add_hook(void *func, enum hook_type type);
void __pass_to_client(void *data, enum hook_type type);
if (def_callback->hook_type == type)
int hook_type;
def_callback->hook_type = type;
void __pass_to_client(void *data, enum hook_type type)
int hook_type;
void add_hook(void *func, enum hook_type type)
container->hook_type = type;