bemanitools/src/api/core/log.h
icex2 acf2498939 WIP: bemanitools 6
highly WIP, what’s “working”:
- iidxhook 9 to 24
- launcher
- inject
2024-06-12 17:41:20 +02:00

19 lines
411 B
C

#ifndef BT_API_CORE_LOG_H
#define BT_API_CORE_LOG_H
#include <stdint.h>
typedef void (*bt_core_log_message_t)(const char *module, const char *fmt, ...);
typedef struct bt_core_log_api {
uint16_t version;
struct {
bt_core_log_message_t misc;
bt_core_log_message_t info;
bt_core_log_message_t warning;
bt_core_log_message_t fatal;
} v1;
} bt_core_log_api_t;
#endif