You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
goldberg_emulator/overlay_experimental/linux/Linux_Detour.h

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