aboutsummaryrefslogtreecommitdiff
path: root/hook.h
blob: 0657e7b119fcf22729709852de378b928e871345 (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