From fb95177298bb92098b61f09b9f66c1fce32f2f02 Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Sun, 27 Oct 2024 23:28:51 -0400 Subject: add hooking and IVEngineServer interface --- hook.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hook.h (limited to 'hook.h') diff --git a/hook.h b/hook.h new file mode 100644 index 0000000..0657e7b --- /dev/null +++ b/hook.h @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: ISC +// SPDX-FileCopyrightText: 2024 Matthew Wozniak + +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 -- cgit v1.2.3-54-g00ecf