geode/loader/dobby/builtin-plugin/ApplicationEventMonitor/dobby_monitor.h

29 lines
418 B
C
Raw Normal View History

2022-07-30 12:24:03 -04:00
#ifndef DOBBY_MONITOR_H
#define DOBBY_MONITOR_H
#include <stdlib.h> /* getenv */
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <set>
#include <unordered_map>
#include "dobby.h"
#define LOG printf
#ifdef __cplusplus
extern "C" {
#endif
int DobbyHook(void *function_address, void *replace_call, void **origin_call);
#ifdef __cplusplus
}
#endif
#endif // !1DOBBY_MONITOR