RetroArch
Classes | Macros | Typedefs | Functions
ipc.h File Reference
#include <gctypes.h>
Include dependency graph for ipc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ioctlv
 

Macros

#define IPC_HEAP   -1
 
#define IPC_OPEN_NONE   0
 
#define IPC_OPEN_READ   1
 
#define IPC_OPEN_WRITE   2
 
#define IPC_OPEN_RW   (IPC_OPEN_READ|IPC_OPEN_WRITE)
 
#define IPC_MAXPATH_LEN   64
 
#define IPC_OK   0
 
#define IPC_EINVAL   -4
 
#define IPC_ENOHEAP   -5
 
#define IPC_ENOENT   -6
 
#define IPC_EQUEUEFULL   -8
 
#define IPC_ENOMEM   -22
 

Typedefs

typedef struct _ioctlv ioctlv
 
typedef s32(* ipccallback) (s32 result, void *usrdata)
 

Functions

void __IPC_Reinitialize (void)
 
s32 iosCreateHeap (s32 size)
 
voidiosAlloc (s32 hid, s32 size)
 
void iosFree (s32 hid, void *ptr)
 
voidIPC_GetBufferLo ()
 
voidIPC_GetBufferHi ()
 
void IPC_SetBufferLo (void *bufferlo)
 
void IPC_SetBufferHi (void *bufferhi)
 
s32 IOS_Open (const char *filepath, u32 mode)
 
s32 IOS_OpenAsync (const char *filepath, u32 mode, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Close (s32 fd)
 
s32 IOS_CloseAsync (s32 fd, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Seek (s32 fd, s32 where, s32 whence)
 
s32 IOS_SeekAsync (s32 fd, s32 where, s32 whence, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Read (s32 fd, void *buf, s32 len)
 
s32 IOS_ReadAsync (s32 fd, void *buf, s32 len, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Write (s32 fd, const void *buf, s32 len)
 
s32 IOS_WriteAsync (s32 fd, const void *buf, s32 len, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Ioctl (s32 fd, s32 ioctl, void *buffer_in, s32 len_in, void *buffer_io, s32 len_io)
 
s32 IOS_IoctlAsync (s32 fd, s32 ioctl, void *buffer_in, s32 len_in, void *buffer_io, s32 len_io, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_Ioctlv (s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
 
s32 IOS_IoctlvAsync (s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv, ipccallback ipc_cb, void *usrdata)
 
s32 IOS_IoctlvFormat (s32 hId, s32 fd, s32 ioctl, const char *format,...)
 
s32 IOS_IoctlvFormatAsync (s32 hId, s32 fd, s32 ioctl, ipccallback usr_cb, void *usr_data, const char *format,...)
 
s32 IOS_IoctlvReboot (s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
 
s32 IOS_IoctlvRebootBackground (s32 fd, s32 ioctl, s32 cnt_in, s32 cnt_io, ioctlv *argv)
 

Macro Definition Documentation

◆ IPC_EINVAL

#define IPC_EINVAL   -4

◆ IPC_ENOENT

#define IPC_ENOENT   -6

◆ IPC_ENOHEAP

#define IPC_ENOHEAP   -5

◆ IPC_ENOMEM

#define IPC_ENOMEM   -22

◆ IPC_EQUEUEFULL

#define IPC_EQUEUEFULL   -8

◆ IPC_HEAP

#define IPC_HEAP   -1

◆ IPC_MAXPATH_LEN

#define IPC_MAXPATH_LEN   64

◆ IPC_OK

#define IPC_OK   0

◆ IPC_OPEN_NONE

#define IPC_OPEN_NONE   0

◆ IPC_OPEN_READ

#define IPC_OPEN_READ   1

◆ IPC_OPEN_RW

#define IPC_OPEN_RW   (IPC_OPEN_READ|IPC_OPEN_WRITE)

◆ IPC_OPEN_WRITE

#define IPC_OPEN_WRITE   2

Typedef Documentation

◆ ioctlv

typedef struct _ioctlv ioctlv

◆ ipccallback

typedef s32(* ipccallback) (s32 result, void *usrdata)

Function Documentation

◆ __IPC_Reinitialize()

void __IPC_Reinitialize ( void  )

◆ IOS_Close()

s32 IOS_Close ( s32  fd)

◆ IOS_CloseAsync()

s32 IOS_CloseAsync ( s32  fd,
ipccallback  ipc_cb,
void usrdata 
)

◆ IOS_Ioctl()

s32 IOS_Ioctl ( s32  fd,
s32  ioctl,
void buffer_in,
s32  len_in,
void buffer_io,
s32  len_io 
)

◆ IOS_IoctlAsync()

s32 IOS_IoctlAsync ( s32  fd,
s32  ioctl,
void buffer_in,
s32  len_in,
void buffer_io,
s32  len_io,
ipccallback  ipc_cb,
void usrdata 
)
Here is the caller graph for this function:

◆ IOS_Ioctlv()

s32 IOS_Ioctlv ( s32  fd,
s32  ioctl,
s32  cnt_in,
s32  cnt_io,
ioctlv argv 
)

◆ IOS_IoctlvAsync()

s32 IOS_IoctlvAsync ( s32  fd,
s32  ioctl,
s32  cnt_in,
s32  cnt_io,
ioctlv argv,
ipccallback  ipc_cb,
void usrdata 
)

◆ IOS_IoctlvFormat()

s32 IOS_IoctlvFormat ( s32  hId,
s32  fd,
s32  ioctl,
const char *  format,
  ... 
)

◆ IOS_IoctlvFormatAsync()

s32 IOS_IoctlvFormatAsync ( s32  hId,
s32  fd,
s32  ioctl,
ipccallback  usr_cb,
void usr_data,
const char *  format,
  ... 
)

◆ IOS_IoctlvReboot()

s32 IOS_IoctlvReboot ( s32  fd,
s32  ioctl,
s32  cnt_in,
s32  cnt_io,
ioctlv argv 
)

◆ IOS_IoctlvRebootBackground()

s32 IOS_IoctlvRebootBackground ( s32  fd,
s32  ioctl,
s32  cnt_in,
s32  cnt_io,
ioctlv argv 
)

◆ IOS_Open()

s32 IOS_Open ( const char *  filepath,
u32  mode 
)

◆ IOS_OpenAsync()

s32 IOS_OpenAsync ( const char *  filepath,
u32  mode,
ipccallback  ipc_cb,
void usrdata 
)

◆ IOS_Read()

s32 IOS_Read ( s32  fd,
void buf,
s32  len 
)

◆ IOS_ReadAsync()

s32 IOS_ReadAsync ( s32  fd,
void buf,
s32  len,
ipccallback  ipc_cb,
void usrdata 
)

◆ IOS_Seek()

s32 IOS_Seek ( s32  fd,
s32  where,
s32  whence 
)

◆ IOS_SeekAsync()

s32 IOS_SeekAsync ( s32  fd,
s32  where,
s32  whence,
ipccallback  ipc_cb,
void usrdata 
)

◆ IOS_Write()

s32 IOS_Write ( s32  fd,
const void buf,
s32  len 
)

◆ IOS_WriteAsync()

s32 IOS_WriteAsync ( s32  fd,
const void buf,
s32  len,
ipccallback  ipc_cb,
void usrdata 
)

◆ iosAlloc()

void* iosAlloc ( s32  hid,
s32  size 
)
Here is the caller graph for this function:

◆ iosCreateHeap()

s32 iosCreateHeap ( s32  size)
Here is the caller graph for this function:

◆ iosFree()

void iosFree ( s32  hid,
void ptr 
)
Here is the caller graph for this function:

◆ IPC_GetBufferHi()

void* IPC_GetBufferHi ( )

◆ IPC_GetBufferLo()

void* IPC_GetBufferLo ( )

◆ IPC_SetBufferHi()

void IPC_SetBufferHi ( void bufferhi)

◆ IPC_SetBufferLo()

void IPC_SetBufferLo ( void bufferlo)