PS2SDK
PS2 Homebrew Libraries
|
#include <sifcmd.h>
Go to the source code of this file.
Data Structures | |
struct | t_SifRpcPktHeader |
struct | t_SifRpcRendPkt |
struct | t_SifRpcOtherDataPkt |
struct | t_SifRpcBindPkt |
struct | t_SifRpcCallPkt |
struct | t_SifRpcServerData |
struct | t_SifRpcHeader |
struct | t_SifRpcClientData |
struct | t_SifRpcReceiveData |
struct | t_SifRpcDataQueue |
Macros | |
#define | SIF_RPC_M_NOWAIT 0x01 |
#define | SIF_RPC_M_NOWBDC 0x02 |
Typedefs | |
typedef void *(* | SifRpcFunc_t) (int fno, void *buffer, int length) |
typedef void(* | SifRpcEndFunc_t) (void *end_param) |
typedef struct t_SifRpcPktHeader | SifRpcPktHeader_t |
typedef struct t_SifRpcRendPkt | SifRpcRendPkt_t |
typedef struct t_SifRpcOtherDataPkt | SifRpcOtherDataPkt_t |
typedef struct t_SifRpcBindPkt | SifRpcBindPkt_t |
typedef struct t_SifRpcCallPkt | SifRpcCallPkt_t |
typedef struct t_SifRpcServerData | SifRpcServerData_t |
typedef struct t_SifRpcHeader | SifRpcHeader_t |
typedef struct t_SifRpcClientData | SifRpcClientData_t |
typedef struct t_SifRpcReceiveData | SifRpcReceiveData_t |
typedef struct t_SifRpcDataQueue | SifRpcDataQueue_t |
Functions | |
void | SifInitRpc (int mode) |
void | SifExitRpc (void) |
int | SifBindRpc (SifRpcClientData_t *client, int rpc_number, int mode) |
int | SifCallRpc (SifRpcClientData_t *client, int rpc_number, int mode, void *send, int ssize, void *receive, int rsize, SifRpcEndFunc_t end_function, void *end_param) |
int | SifRpcGetOtherData (SifRpcReceiveData_t *rd, void *src, void *dest, int size, int mode) |
int | SifCheckStatRpc (SifRpcClientData_t *cd) |
SifRpcDataQueue_t * | SifSetRpcQueue (SifRpcDataQueue_t *q, int thread_id) |
SifRpcDataQueue_t * | SifRemoveRpcQueue (SifRpcDataQueue_t *qd) |
SifRpcServerData_t * | SifRegisterRpc (SifRpcServerData_t *srv, int sid, SifRpcFunc_t func, void *buff, SifRpcFunc_t cfunc, void *cbuff, SifRpcDataQueue_t *qd) |
SifRpcServerData_t * | SifRemoveRpc (SifRpcServerData_t *sd, SifRpcDataQueue_t *queue) |
SifRpcServerData_t * | SifGetNextRequest (SifRpcDataQueue_t *qd) |
void | SifExecRequest (SifRpcServerData_t *srv) |
void | SifRpcLoop (SifRpcDataQueue_t *q) |
EE SIF RPC commands prototypes
Definition in file sifrpc.h.
struct t_SifRpcPktHeader |
Data Fields | ||
---|---|---|
struct t_SifCmdHeader | sifcmd | |
int | rec_id | |
void * | pkt_addr | |
int | rpc_id |
struct t_SifRpcRendPkt |
Data Fields | ||
---|---|---|
struct t_SifCmdHeader | sifcmd | |
int | rec_id | |
void * | pkt_addr | |
int | rpc_id | |
struct t_SifRpcClientData * | client | |
u32 | cid | |
struct t_SifRpcServerData * | server | |
void * | buff | |
void * | cbuff |
struct t_SifRpcOtherDataPkt |
Data Fields | ||
---|---|---|
struct t_SifCmdHeader | sifcmd | |
int | rec_id | |
void * | pkt_addr | |
int | rpc_id | |
struct t_SifRpcReceiveData * | receive | |
void * | src | |
void * | dest | |
int | size |
struct t_SifRpcBindPkt |
Data Fields | ||
---|---|---|
struct t_SifCmdHeader | sifcmd | |
int | rec_id | |
void * | pkt_addr | |
int | rpc_id | |
struct t_SifRpcClientData * | client | |
int | sid |
struct t_SifRpcCallPkt |
Data Fields | ||
---|---|---|
struct t_SifCmdHeader | sifcmd | |
int | rec_id | |
void * | pkt_addr | |
int | rpc_id | |
struct t_SifRpcClientData * | client | |
int | rpc_number | |
int | send_size | |
void * | receive | |
int | recv_size | |
int | rmode | |
struct t_SifRpcServerData * | server |
struct t_SifRpcServerData |
Data Fields | ||
---|---|---|
int | sid | |
SifRpcFunc_t | func | |
void * | buff | |
int | size | |
SifRpcFunc_t | cfunc | |
void * | cbuff | |
int | size2 | |
struct t_SifRpcClientData * | client | |
void * | pkt_addr | |
int | rpc_number | |
void * | receive | |
int | rsize | |
int | rmode | |
int | rid | |
struct t_SifRpcServerData * | link | |
struct t_SifRpcServerData * | next | |
struct t_SifRpcDataQueue * | base |
struct t_SifRpcHeader |
struct t_SifRpcClientData |
Data Fields | ||
---|---|---|
struct t_SifRpcHeader | hdr | |
u32 | command | |
void * | buff | |
void * | cbuff | |
SifRpcEndFunc_t | end_function | |
void * | end_param | |
struct t_SifRpcServerData * | server |
struct t_SifRpcReceiveData |
Data Fields | ||
---|---|---|
struct t_SifRpcHeader | hdr | |
void * | src | |
void * | dest | |
int | size |
struct t_SifRpcDataQueue |
Data Fields | ||
---|---|---|
int | thread_id | |
int | active | |
struct t_SifRpcServerData * | link | |
struct t_SifRpcServerData * | start | |
struct t_SifRpcServerData * | end | |
struct t_SifRpcDataQueue * | next |
typedef void *(* SifRpcFunc_t) (int fno, void *buffer, int length) |