mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-02-17 19:19:16 +01:00
aciomgr: move internal init stuff to manager-init.h
This commit is contained in:
parent
965df98093
commit
75b27d5992
@ -1,6 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "manager.h"
|
||||
#include "manager-init.h"
|
||||
|
||||
BOOL WINAPI DllMain(HMODULE self, DWORD reason, void *ctx)
|
||||
{
|
||||
|
8
src/main/aciomgr/manager-init.h
Normal file
8
src/main/aciomgr/manager-init.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef ACIOMGR_MANAGER_INIT_H
|
||||
#define ACIOMGR_MANAGER_INIT_H
|
||||
|
||||
// internal, used by DllMain
|
||||
void _aciomgr_init();
|
||||
void _aciomgr_fini();
|
||||
|
||||
#endif
|
@ -4,7 +4,11 @@
|
||||
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include "manager.h"
|
||||
#include "aciomgr/manager-init.h"
|
||||
|
||||
#include "aciomgr/manager.h"
|
||||
|
||||
#include "acio/acio.h"
|
||||
|
||||
#include "aciodrv/device.h"
|
||||
#include "util/array.h"
|
||||
|
@ -3,19 +3,14 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "acio/acio.h"
|
||||
|
||||
#include "bemanitools/glue.h"
|
||||
|
||||
#define ACIOMGR_NODE_PRODUCT_CODE_LEN 4
|
||||
|
||||
struct ac_io_message;
|
||||
struct aciodrv_device_ctx;
|
||||
struct aciomgr_port_dispatcher;
|
||||
|
||||
// internal
|
||||
void _aciomgr_init();
|
||||
void _aciomgr_fini();
|
||||
|
||||
/**
|
||||
* The first function that will be called on your DLL. You will be supplied
|
||||
* with four function pointers that may be used to log messages to the game's
|
||||
@ -88,4 +83,4 @@ aciomgr_port_checkout(struct aciomgr_port_dispatcher *dispatcher);
|
||||
*/
|
||||
void aciomgr_port_checkin(struct aciomgr_port_dispatcher *dispatcher);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user