DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
sifrpc.h
1
#pragma once
2
6
struct
sceSifRpcHeader
{
7
void
*
packet_address
;
8
unsigned
int
rpc_id
;
9
int
semaphore_id
;
10
unsigned
int
mode
;
11
};
12
13
struct
sceSifServeData;
14
18
struct
sceSifClientData
{
19
sceSifRpcHeader
header
;
20
unsigned
int
command
;
21
void
*
buffer
;
22
void
*
callback_buffer
;
23
void (*
callback
)(
void
*);
24
void
*
callback_parameter
;
25
sceSifServeData *
server
;
26
};
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
35
void
sceSifInitRpc(
int
mode);
36
int
sceSifRebootIop(
const
char
*path);
37
int
sceSifSyncIop(
void
);
38
int
sceSifLoadModule(
const
char
*path,
int
arg_len,
const
char
*args);
39
43
int
sceSifBindRpc(
struct
sceSifClientData
*client,
unsigned
int
number,
unsigned
int
mode);
44
48
int
sceSifCallRpc(
struct
sceSifClientData
*client,
unsigned
int
number,
unsigned
int
mode,
49
void
*send,
int
send_size,
void
*receive,
int
receive_size,
50
void
(*end_callback)(
void
*),
void
*end_parameter);
51
55
int
sceSifInitIopHeap(
void
);
56
60
void
*sceSifAllocIopHeap(
unsigned
int
size);
61
65
int
sceSifFreeIopHeap(
void
*address);
66
67
#ifdef __cplusplus
68
}
69
#endif
sceSifClientData
Definition
sifrpc.h:18
sceSifClientData::callback_parameter
void * callback_parameter
Definition
sifrpc.h:24
sceSifClientData::callback
void(* callback)(void *)
Definition
sifrpc.h:23
sceSifClientData::server
sceSifServeData * server
Definition
sifrpc.h:25
sceSifClientData::callback_buffer
void * callback_buffer
Definition
sifrpc.h:22
sceSifClientData::buffer
void * buffer
Definition
sifrpc.h:21
sceSifClientData::command
unsigned int command
Definition
sifrpc.h:20
sceSifClientData::header
sceSifRpcHeader header
Definition
sifrpc.h:19
sceSifRpcHeader
Definition
sifrpc.h:6
sceSifRpcHeader::packet_address
void * packet_address
Definition
sifrpc.h:7
sceSifRpcHeader::rpc_id
unsigned int rpc_id
Definition
sifrpc.h:8
sceSifRpcHeader::semaphore_id
int semaphore_id
Definition
sifrpc.h:9
sceSifRpcHeader::mode
unsigned int mode
Definition
sifrpc.h:10
ps2
include
sce
sifrpc.h
Generated by
1.9.8