mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
28a2ecdfd3
* [jak2] goalc supports multiple projects * disable deci2 server if not debugging
26 lines
570 B
C++
26 lines
570 B
C++
#pragma once
|
|
|
|
/*!
|
|
* @file deci2.h
|
|
* Implementation of SCE DECI2 library.
|
|
*/
|
|
|
|
#include "common/listener_common.h"
|
|
|
|
class Deci2Server;
|
|
|
|
namespace ee {
|
|
|
|
void LIBRARY_INIT_sceDeci2();
|
|
void LIBRARY_sceDeci2_run_sends();
|
|
void LIBRARY_sceDeci2_register(::Deci2Server* server);
|
|
|
|
s32 sceDeci2Open(u16 protocol, void* opt, void (*handler)(s32 event, s32 param, void* opt));
|
|
s32 sceDeci2Close(s32 s);
|
|
s32 sceDeci2ReqSend(s32 s, char dest);
|
|
s32 sceDeci2ExRecv(s32 s, void* buf, u16 len);
|
|
s32 sceDeci2ExSend(s32 s, void* buf, u16 len);
|
|
void sceDeci2Disable();
|
|
|
|
} // namespace ee
|