This PR adds everything that's needed on the segatools side to add E-Money support regarding Thinca authentication cards. I've also included set-up documentation (with a network side bonus which was as far as I could figure out so far, but I'm pretty certain no more changes to segatools will be needed) Due to the nature of a custom protcol called TCAP that Thinca uses for networking (see docs), I can't fully test that everything works as I haven't yet bothered to figure that protocol out. Tested with both APMv3 and FGO.  Reviewed-on: TeamTofuShop/segatools#35 Co-authored-by: Haruka <haruka@noreply.gitea.tendokyu.moe> Co-committed-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
12 lines
358 B
C
12 lines
358 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stddef.h>
|
|
void http_hook_init();
|
|
void port_hook_init(unsigned short _startup_port, unsigned short _billing_port, unsigned short _aimedb_port);
|
|
// if to_src is NULL, all lookups for from_src will fail
|
|
HRESULT dns_hook_push(const wchar_t *from_src, const wchar_t *to_src);
|
|
|
|
void dns_hook_apply_hooks(HMODULE mod);
|