blob: 7cf4285b419750f244e3aae8494d3acf4434e21a (
plain)
1
2
3
4
5
6
7
8
9
10
|
#pragma once
#include "h-basic.h"
typedef bool (*hook_func_t)(void *, void *, void *);
void add_hook_new(int h_idx, hook_func_t hook_func, cptr name, void *data);
void del_hook_new(int h_idx, hook_func_t hook_func);
extern int process_hooks_restart;
bool process_hooks_new(int h_idx, void *in, void *out);
|