PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
deci2.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  {
  DECI2_ERR_INVALID = -1 , DECI2_ERR_INVALSOCK = -2 , DECI2_ERR_ALREADYUSE = -3 , DECI2_ERR_MFILE = -4 ,
  DECI2_ERR_INVALADDR = -5 , DECI2_ERR_PKTSIZE = -6 , DECI2_ERR_WOULDBLOCK = -7 , DECI2_ERR_ALREADYLOCK = -8 ,
  DECI2_ERR_NOTLOCKED = -9 , DECI2_ERR_NOROUTE = -10 , DECI2_ERR_NOSPACE = -11 , DECI2_ERR_INVALHEAD = -12
}
 
enum  {
  DECI2_READ = 1 , DECI2_READ_DONE = 2 , DECI2_WRITE = 3 , DECI2_WRITE_DONE = 4 ,
  DECI2_CHSTATUS = 5 , DECI2_ERROR = 6
}
 

Functions

int sceDeci2Open (unsigned short protocol, void *opt, void(*handler)(int event, int param, void *opt))
 
int sceDeci2Close (int s)
 
int sceDeci2ReqSend (int s, char dest)
 
void sceDeci2Poll (int s)
 
int sceDeci2ExRecv (int s, void *buf, unsigned short len)
 
int sceDeci2ExSend (int s, void *buf, unsigned short len)
 
int sceDeci2ExReqSend (int s, char dest)
 
int sceDeci2ExLock (int s)
 
int sceDeci2ExUnLock (int s)
 
int kputs (char *s)
 

Detailed Description

DECI2 library functions

Definition in file deci2.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 18 of file deci2.h.

◆ anonymous enum

anonymous enum

Definition at line 33 of file deci2.h.

Function Documentation

◆ sceDeci2Open()

int sceDeci2Open ( unsigned short protocol,
void * opt,
void(* handler )(int event, int param, void *opt) )

Definition at line 20 of file deci2.c.

◆ sceDeci2Close()

int sceDeci2Close ( int s)

Definition at line 34 of file deci2.c.

◆ sceDeci2ReqSend()

int sceDeci2ReqSend ( int s,
char dest )

Definition at line 43 of file deci2.c.

◆ sceDeci2Poll()

void sceDeci2Poll ( int s)

Definition at line 53 of file deci2.c.

◆ sceDeci2ExRecv()

int sceDeci2ExRecv ( int s,
void * buf,
unsigned short len )

Definition at line 62 of file deci2.c.

◆ sceDeci2ExSend()

int sceDeci2ExSend ( int s,
void * buf,
unsigned short len )

Definition at line 73 of file deci2.c.

◆ sceDeci2ExReqSend()

int sceDeci2ExReqSend ( int s,
char dest )

Definition at line 84 of file deci2.c.

◆ sceDeci2ExLock()

int sceDeci2ExLock ( int s)

Definition at line 94 of file deci2.c.

◆ sceDeci2ExUnLock()

int sceDeci2ExUnLock ( int s)

Definition at line 103 of file deci2.c.

◆ kputs()

int kputs ( char * s)

Definition at line 112 of file deci2.c.