libtransistor
A userland library for the Nintendo Switch
|
Data structures and functions for interacting with the Android Binder IPC interface used in vi services. More...
Go to the source code of this file.
Data Structures | |
struct | binder_t |
Represents a remote interface. More... | |
struct | flat_binder_object_t |
Binder object as included in a Parcel. More... | |
Typedefs | |
typedef struct binder_t | binder_t |
Functions | |
result_t | binder_adjust_refcount (binder_t *binder, int32_t addval, int32_t type) |
Adjusts the binder's reference count. More... | |
result_t | binder_transact_parcel (binder_t *binder, uint32_t transaction, uint32_t flags, parcel_t *in, parcel_t *out) |
Perform a transaction on the given binder. More... | |
result_t | binder_get_native_handle (binder_t *binder, uint32_t id, revent_h *out) |
Gets a native handle from a binder. | |
Data structures and functions for interacting with the Android Binder IPC interface used in vi services.
Adjusts the binder's reference count.
binder | Binder object to adjust reference count for |
addval | Description |
type | Description |
result_t binder_transact_parcel | ( | binder_t * | binder, |
uint32_t | transaction, | ||
uint32_t | flags, | ||
parcel_t * | in, | ||
parcel_t * | out | ||
) |
Perform a transaction on the given binder.
binder | Binder object to transact with |
transaction | Transaction ID |
flags | Transaction flags |
in | Parcel to read request parameters from |
out | Parcel to write response values to |