|
static u64 | smServiceNameToU64 (SmServiceName name) |
| Converts a service name into a 64-bit integer.
|
|
static SmServiceName | smServiceNameFromU64 (u64 name) |
| Converts a 64-bit integer into a service name.
|
|
static bool | smServiceNamesAreEqual (SmServiceName a, SmServiceName b) |
| Checks whether two service names are equal. More...
|
|
static SmServiceName | smEncodeName (const char *name) |
| Encodes a service name string as a SmServiceName structure. More...
|
|
Result | smInitialize (void) |
| Initializes SM. More...
|
|
void | smExit (void) |
| Uninitializes SM. More...
|
|
Result | smGetServiceWrapper (Service *service_out, SmServiceName name) |
| Requests a service from SM, allowing overrides. More...
|
|
Result | smGetServiceOriginal (Handle *handle_out, SmServiceName name) |
| Requests a service from SM, as an IPC session handle directly. More...
|
|
static Result | smGetService (Service *service_out, const char *name) |
| Requests a service from SM. More...
|
|
Handle | smGetServiceOverride (SmServiceName name) |
| Retrieves an overriden service in the homebrew environment. More...
|
|
Result | smRegisterService (Handle *handle_out, SmServiceName name, bool is_light, s32 max_sessions) |
| Creates and registers a new service within SM. More...
|
|
Result | smRegisterServiceCmif (Handle *handle_out, SmServiceName name, bool is_light, s32 max_sessions) |
| Same as smRegisterService, but always using cmif serialization.
|
|
Result | smRegisterServiceTipc (Handle *handle_out, SmServiceName name, bool is_light, s32 max_sessions) |
| Same as smRegisterService, but always using tipc serialization.
|
|
Result | smUnregisterService (SmServiceName name) |
| Unregisters a previously registered service in SM. More...
|
|
Result | smUnregisterServiceCmif (SmServiceName name) |
| Same as smUnregisterService, but always using cmif serialization.
|
|
Result | smUnregisterServiceTipc (SmServiceName name) |
| Same as smUnregisterService, but always using tipc serialization.
|
|
Result | smDetachClient (void) |
| Detaches the current SM session. More...
|
|
Result | smDetachClientCmif (void) |
| Same as smDetachClient, but always using cmif serialization.
|
|
Result | smDetachClientTipc (void) |
| Same as smDetachClient, but always using tipc serialization.
|
|
Service * | smGetServiceSession (void) |
| Gets the Service session used to communicate with SM. More...
|
|
TipcService * | smGetServiceSessionTipc (void) |
| Gets the TipcService session used to communicate with SM. More...
|
|
void | smAddOverrideHandle (SmServiceName name, Handle handle) |
| Overrides a service with a custom IPC service handle. More...
|
|
Service manager (sm) IPC wrapper.
- Author
- plutoo
-
yellows8
- Copyright
- libnx Authors