libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
ipc_request_fmt_t Struct Reference

Describes format expectations for an incoming IPC request. More...

#include <ipc.h>

Collaboration diagram for ipc_request_fmt_t:
Collaboration graph
[legend]

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_tcopy_handles
 Array to be populated with the expected amount of incoming copy handles.
 
handle_tmove_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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: