aciomgr: move internal init stuff to manager-init.h
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#include "manager.h"
|
#include "manager-init.h"
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HMODULE self, DWORD reason, void *ctx)
|
BOOL WINAPI DllMain(HMODULE self, DWORD reason, void *ctx)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 <stdatomic.h>
|
||||||
|
|
||||||
#include "manager.h"
|
#include "aciomgr/manager-init.h"
|
||||||
|
|
||||||
|
#include "aciomgr/manager.h"
|
||||||
|
|
||||||
|
#include "acio/acio.h"
|
||||||
|
|
||||||
#include "aciodrv/device.h"
|
#include "aciodrv/device.h"
|
||||||
#include "util/array.h"
|
#include "util/array.h"
|
||||||
|
|||||||
@@ -3,19 +3,14 @@
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "acio/acio.h"
|
|
||||||
|
|
||||||
#include "bemanitools/glue.h"
|
#include "bemanitools/glue.h"
|
||||||
|
|
||||||
#define ACIOMGR_NODE_PRODUCT_CODE_LEN 4
|
#define ACIOMGR_NODE_PRODUCT_CODE_LEN 4
|
||||||
|
|
||||||
|
struct ac_io_message;
|
||||||
struct aciodrv_device_ctx;
|
struct aciodrv_device_ctx;
|
||||||
struct aciomgr_port_dispatcher;
|
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
|
* 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
|
* with four function pointers that may be used to log messages to the game's
|
||||||
|
|||||||
Reference in New Issue
Block a user