RetroArch
mcp.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wiiu/types.h>
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 typedef enum MCPInstallTarget
10 {
14 
15 typedef struct __attribute__((__packed__))
16 {
17  uint32_t inProgress;
18  uint64_t tid;
19  uint64_t sizeTotal;
20  uint64_t sizeProgress;
21  uint32_t contentsTotal;
22  uint32_t contentsProgress;
24 
25 typedef struct
26 {
27  char buffer[0x27F];
29 
30 typedef struct
31 {
32  char buffer[0x27F];
34 
35 typedef struct
36 {
37  char name[0x31B];
38 }MCPDevice;
39 
40 typedef struct
41 {
42  MCPDevice devices[32];
44 
45 int MCP_Open();
46 int MCP_Close(int handle);
48 int MCP_InstallGetTargetDevice(int handle, MCPInstallTarget *deviceOut);
49 int MCP_InstallSetTargetUsb(int handle, int usb);
50 int MCP_InstallGetInfo(int handle, char *path, MCPInstallInfo *out);
51 int MCP_InstallTitleAsync(int handle, char *path, MCPInstallTitleInfo *out);
52 int MCP_InstallGetProgress(int handle, MCPInstallProgress *installProgressOut);
53 int MCP_InstallTitleAbort(int handle);
54 int MCP_UninstallTitleAsync(int handle, char *path, MCPInstallTitleInfo *out);
55 int MCP_DeviceList(int handle, int *numDevices, MCPDeviceList *outDevices, uint32_t outBufferSize);
56 int MCP_FullDeviceList(int handle, int *numDevices, MCPDeviceList *outDevices,
57  uint32_t outBufferSize);
58 
59 #ifdef __cplusplus
60 }
61 #endif
GLuint const GLchar * name
Definition: glext.h:6671
Definition: mcp.h:40
int MCP_InstallTitleAbort(int handle)
int MCP_Open()
GLsizei const GLchar ** path
Definition: glext.h:7901
Definition: mcp.h:35
struct passwd out
Definition: missing_libc_functions.c:51
int MCP_InstallGetInfo(int handle, char *path, MCPInstallInfo *out)
Definition: mcp.h:12
int MCP_InstallSetTargetUsb(int handle, int usb)
int MCP_InstallGetTargetDevice(int handle, MCPInstallTarget *deviceOut)
Definition: mcp.h:30
Definition: mcp.h:25
struct __attribute__((__packed__))
Definition: mcp.h:15
int MCP_InstallTitleAsync(int handle, char *path, MCPInstallTitleInfo *out)
int MCP_FullDeviceList(int handle, int *numDevices, MCPDeviceList *outDevices, uint32_t outBufferSize)
int MCP_UninstallTitleAsync(int handle, char *path, MCPInstallTitleInfo *out)
MCPInstallProgress
Definition: mcp.h:23
MCPInstallTarget
Definition: mcp.h:9
int MCP_Close(int handle)
int MCP_DeviceList(int handle, int *numDevices, MCPDeviceList *outDevices, uint32_t outBufferSize)
int MCP_InstallGetProgress(int handle, MCPInstallProgress *installProgressOut)
Definition: mcp.h:11
Definition: video4linux2.c:51
int MCP_InstallSetTargetDevice(int handle, MCPInstallTarget device)
struct nk_device device
Definition: nk_common.c:44
unsigned __int64 uint64_t
Definition: stdint.h:136
unsigned int uint32_t
Definition: stdint.h:126