sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
deci2.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Licenced under Academic Free License version 2.0
7
# Review ps2sdk README & LICENSE files for further details.
8
*/
9
15
16
#ifndef DECI2_H_
17
#define DECI2_H_
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
enum
{
24
DECI2_ERR_INVALID = -1,
25
DECI2_ERR_INVALSOCK = -2,
26
DECI2_ERR_ALREADYUSE = -3,
27
DECI2_ERR_MFILE = -4,
28
DECI2_ERR_INVALADDR = -5,
29
DECI2_ERR_PKTSIZE = -6,
30
DECI2_ERR_WOULDBLOCK = -7,
31
DECI2_ERR_ALREADYLOCK = -8,
32
DECI2_ERR_NOTLOCKED = -9,
33
DECI2_ERR_NOROUTE = -10,
34
DECI2_ERR_NOSPACE = -11,
35
DECI2_ERR_INVALHEAD = -12,
36
};
37
38
enum
{
39
DECI2_READ = 1,
40
DECI2_READ_DONE = 2,
41
DECI2_WRITE = 3,
42
DECI2_WRITE_DONE = 4,
43
DECI2_CHSTATUS = 5,
44
DECI2_ERROR = 6,
45
};
46
47
int
sceDeci2Open(
unsigned
short
protocol,
void
*opt,
void
(*handler)(
int
event
,
int
param,
void
*opt));
48
int
sceDeci2Close(
int
s);
49
int
sceDeci2ReqSend(
int
s,
char
dest);
50
void
sceDeci2Poll(
int
s);
51
int
sceDeci2ExRecv(
int
s,
void
*buf,
unsigned
short
len);
52
int
sceDeci2ExSend(
int
s,
void
*buf,
unsigned
short
len);
53
int
sceDeci2ExReqSend(
int
s,
char
dest);
54
int
sceDeci2ExLock(
int
s);
55
int
sceDeci2ExUnLock(
int
s);
56
int
kputs(
char
*s);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
// DECI2_H_
event
Definition
thcommon.h:76
core
kernel
include
deci2.h
Generated by
1.18.0