RetroArch
os_functions.h
Go to the documentation of this file.
1 #ifndef __OS_FUNCTIONS_H_
2 #define __OS_FUNCTIONS_H_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #define OS_MUTEX_SIZE 44
9 
10 #ifndef __WUT__
11 extern void (* OSInitMutex)(void* mutex);
15 extern void (* OSLockMutex)(void* mutex);
16 extern void (* OSUnlockMutex)(void* mutex);
17 
21 extern int (*IOS_Ioctl)(int fd, unsigned int request, void *input_buffer,unsigned int input_buffer_len, void *output_buffer, unsigned int output_buffer_len);
22 extern int (*IOS_Open)(char *path, unsigned int mode);
23 extern int (*IOS_Close)(int fd);
24 #else
25 extern void OSInitMutex(void* mutex);
29 extern void OSLockMutex(void* mutex);
30 extern void OSUnlockMutex(void* mutex);
31 
35 extern int IOS_Ioctl(int fd, unsigned int request, void *input_buffer,unsigned int input_buffer_len, void *output_buffer, unsigned int output_buffer_len);
36 extern int IOS_Open(char *path, unsigned int mode);
37 extern int IOS_Close(int fd);
38 #endif // __WUT__
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif // __OS_FUNCTIONS_H_
GLenum mode
Definition: glext.h:6857
void(* OSUnlockMutex)(void *mutex)
GLsizei const GLchar ** path
Definition: glext.h:7901
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
static sys_sem mutex
Definition: memp.c:120
int(* IOS_Open)(char *path, unsigned int mode)
void(* OSInitMutex)(void *mutex)
void(* OSLockMutex)(void *mutex)
int(* IOS_Ioctl)(int fd, unsigned int request, void *input_buffer, unsigned int input_buffer_len, void *output_buffer, unsigned int output_buffer_len)
int(* IOS_Close)(int fd)