wut  v1.7.0
Wii U Toolchain
Data Structures | Macros | Typedefs | Enumerations | Functions
messagequeue.h File Reference
#include <wut.h>
#include "threadqueue.h"
Include dependency graph for messagequeue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OSMessage
 
struct  OSMessageQueue
 

Macros

#define OS_MESSAGE_QUEUE_TAG   0x6D536751u
 

Typedefs

typedef struct OSMessage OSMessage
 
typedef struct OSMessageQueue OSMessageQueue
 
typedef enum OSMessageFlags OSMessageFlags
 
typedef enum OSFunctionType OSFunctionType
 

Enumerations

enum  OSMessageFlags {
  OS_MESSAGE_FLAGS_NONE = 0 ,
  OS_MESSAGE_FLAGS_BLOCKING = 1 << 0 ,
  OS_MESSAGE_FLAGS_HIGH_PRIORITY = 1 << 1
}
 
enum  OSFunctionType {
  OS_FUNCTION_TYPE_HIO_OPEN = 1 ,
  OS_FUNCTION_TYPE_HIO_READ_ASYNC = 2 ,
  OS_FUNCTION_TYPE_HIO_WRITE_ASYNC = 3 ,
  OS_FUNCTION_TYPE_FSA_CMD_ASYNC = 4 ,
  OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC = 5 ,
  OS_FUNCTION_TYPE_FSA_PR_CMD_ASYNC_NO_ALLOC = 6 ,
  OS_FUNCTION_TYPE_FSA_ATTACH_EVENT = 7 ,
  OS_FUNCTION_TYPE_FS_CMD_ASYNC = 8 ,
  OS_FUNCTION_TYPE_FS_CMD_HANDLER = 9 ,
  OS_FUNCTION_TYPE_FS_ATTACH_EVENT = 10 ,
  OS_FUNCTION_TYPE_FS_STATE_CHANGE_EVENT = 11
}
 

Functions

void OSInitMessageQueue (OSMessageQueue *queue, OSMessage *messages, int32_t size)
 
void OSInitMessageQueueEx (OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)
 
BOOL OSSendMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSReceiveMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSPeekMessage (OSMessageQueue *queue, OSMessage *message)
 
OSMessageQueueOSGetSystemMessageQueue ()
 
OSMessageQueueOSGetDefaultAppIOQueue ()