libtransistor
A userland library for the Nintendo Switch
|
Describes format expectations for an incoming IPC request. More...
#include <ipc.h>
Data Fields | |
uint32_t | num_buffers |
Number of buffers to expect. | |
ipc_buffer_t ** | buffers |
This should point to an array of num_buffers buffers, with the type fields filled out. The addr and size fields will be unpacked. | |
void * | raw_data |
Buffer to copy raw request data into. | |
size_t | raw_data_size |
Size in bytes of raw_data to expect. | |
bool | send_pid |
Whether to expect an incoming PID. | |
uint64_t * | pid |
Where to put an incoming PID, if one is expected and present. | |
uint8_t | num_copy_handles |
How many handles to expect to be copied. | |
uint8_t | num_move_handles |
How many handles to expect to be moved. | |
uint8_t | num_objects |
How many objects to expect to be referenced. | |
handle_t * | copy_handles |
Array to be populated with the expected amount of incoming copy handles. | |
handle_t * | move_handles |
Array to be populated with the expected amount of incoming move handles. | |
struct ipc_server_object_t ** | objects |
Array to be populated with the expected amount of points to objects referenced by the request. | |
Describes format expectations for an incoming IPC request.
Represents the expectations for an IPC request and contains pointers to buffers for request data to be written to.
Used for IPC server.