|  | 
| 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. 
 | 
|  | 
| static SmServiceName | smEncodeName (const char *name) | 
|  | Encodes a service name string as a SmServiceName structure. 
 | 
|  | 
| Result | smInitialize (void) | 
|  | Initializes SM. 
 | 
|  | 
| void | smExit (void) | 
|  | Uninitializes SM. 
 | 
|  | 
| Result | smGetServiceWrapper (Service *service_out, SmServiceName name) | 
|  | Requests a service from SM, allowing overrides. 
 | 
|  | 
| Result | smGetServiceOriginal (Handle *handle_out, SmServiceName name) | 
|  | Requests a service from SM, as an IPC session handle directly. 
 | 
|  | 
| static Result | smGetService (Service *service_out, const char *name) | 
|  | Requests a service from SM. 
 | 
|  | 
| Handle | smGetServiceOverride (SmServiceName name) | 
|  | Retrieves an overriden service in the homebrew environment. 
 | 
|  | 
| Result | smRegisterService (Handle *handle_out, SmServiceName name, bool is_light, s32 max_sessions) | 
|  | Creates and registers a new service within SM. 
 | 
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
| TipcService * | smGetServiceSessionTipc (void) | 
|  | Gets the TipcService session used to communicate with SM. 
 | 
|  | 
| void | smAddOverrideHandle (SmServiceName name, Handle handle) | 
|  | Overrides a service with a custom IPC service handle. 
 | 
|  | 
Service manager (sm) IPC wrapper. 
- Author
- plutoo 
- 
yellows8 
- Copyright
- libnx Authors