mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-03 09:40:14 +00:00
17 lines
367 B
C++
17 lines
367 B
C++
#ifndef LINUX_DETOUR_H
|
|
#define LINUX_DETOUR_H
|
|
|
|
#include <pthread.h>
|
|
|
|
namespace Linux_Detour
|
|
{
|
|
int update_thread(pthread_t thread_id);
|
|
int transaction_begin();
|
|
int transaction_abort();
|
|
int transaction_commit();
|
|
int hook_func(void** ppOriginalFunc, void* _hook);
|
|
int unhook_func(void** ppOriginalFunc, void* _hook);
|
|
};
|
|
|
|
#endif // LINUX_DETOUR_H
|