aboutsummaryrefslogtreecommitdiff
path: root/hook.h
blob: eca9ef6eb757cb1ad0945c841591f260ba2009bc (plain) (blame)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: ISC
// SPDX-FileCopyrightText: 2024 Matthew Wozniak <me@woz.blue>

bool hook_init(void);
void *hook_inline(void *func, void *target);
void unhook_inline(void *orig);
void *hook_dllapi(const char *module, const char *name, void *target);

// vi: sw=4 ts=4 noet tw=80 cc=80