vitasdk
Documentation of the vitasdk
msgpipe.h
Go to the documentation of this file.
1
6#ifndef _PSP2_KERNEL_THREADMGR_MSGPIPE_H_
7#define _PSP2_KERNEL_THREADMGR_MSGPIPE_H_
8
10#include <psp2/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16
28SceUID sceKernelCreateMsgPipe(const char *name, int type, int attr, unsigned int bufSize, void *opt);
29
38
51int sceKernelSendMsgPipe(SceUID uid, void *message, unsigned int size, int unk1, void *unk2, unsigned int *timeout);
52
65int sceKernelSendMsgPipeCB(SceUID uid, void *message, unsigned int size, int unk1, void *unk2, unsigned int *timeout);
66
78int sceKernelTrySendMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2);
79
92int sceKernelReceiveMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2, unsigned int *timeout);
93
106int sceKernelReceiveMsgPipeCB(SceUID uid, void *message, SceSize size, int unk1, void *unk2, unsigned int *timeout);
107
119int sceKernelTryReceiveMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2);
120
130int sceKernelCancelMsgPipe(SceUID uid, int *psend, int *precv);
131
144
154
155
156#ifdef __cplusplus
157}
158#endif
159
160#endif /* _PSP2_KERNEL_THREADMGR_MSGPIPE_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition bt.h:2
SceSize size
struct size(variable size)
Definition debug.h:0
int sceKernelTrySendMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2)
Try to send a message to a pipe.
int bufSize
Definition msgpipe.h:138
SceSize size
Definition msgpipe.h:134
int sceKernelCancelMsgPipe(SceUID uid, int *psend, int *precv)
Cancel a message pipe.
int sceKernelDeleteMsgPipe(SceUID uid)
Delete a message pipe.
int numSendWaitThreads
Definition msgpipe.h:140
int sceKernelReceiveMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2, unsigned int *timeout)
Receive a message from a pipe.
SceUID sceKernelCreateMsgPipe(const char *name, int type, int attr, unsigned int bufSize, void *opt)
Create a message pipe.
SceUID mppId
Definition msgpipe.h:135
int sceKernelReceiveMsgPipeCB(SceUID uid, void *message, SceSize size, int unk1, void *unk2, unsigned int *timeout)
Receive a message from a pipe (with callback)
int sceKernelSendMsgPipeCB(SceUID uid, void *message, unsigned int size, int unk1, void *unk2, unsigned int *timeout)
Send a message to a pipe (with callback)
char name[32]
Definition msgpipe.h:136
int sceKernelTryReceiveMsgPipe(SceUID uid, void *message, SceSize size, int unk1, void *unk2)
Receive a message from a pipe.
int numReceiveWaitThreads
Definition msgpipe.h:141
int sceKernelSendMsgPipe(SceUID uid, void *message, unsigned int size, int unk1, void *unk2, unsigned int *timeout)
Send a message to a pipe.
int sceKernelGetMsgPipeInfo(SceUID uid, SceKernelMppInfo *info)
Get the status of a Message Pipe.
SceUInt attr
Definition msgpipe.h:137
int freeSize
Definition msgpipe.h:139
Message Pipe status info.
Definition msgpipe.h:133
unsigned int SceSize
Definition types.h:56
uint32_t SceUInt
Definition types.h:48
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
unsigned short unk1
Definition usbd.h:1