le_sup_ctrl_interface.h
Go to the documentation of this file.
80 //--------------------------------------------------------------------------------------------------83 * Connect the current client thread to the service providing this API. Block until the service is87 * called before any other functions in this API. Normally, ConnectService is automatically called92 //--------------------------------------------------------------------------------------------------98 //--------------------------------------------------------------------------------------------------101 * Try to connect the current client thread to the service providing this API. Return with an error104 * For each thread that wants to use this API, either ConnectService or TryConnectService must be105 * called before any other functions in this API. Normally, ConnectService is automatically called112 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.113 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------128 * longer a connection to the service, and the functions in this API can't be used. For details, see133 //--------------------------------------------------------------------------------------------------140 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------void le_sup_ctrl_ReleaseAppRef(le_sup_ctrl_AppRef_t appRef)void le_sup_ctrl_SetRun(le_sup_ctrl_AppRef_t appRef, const char *procName, bool run)le_result_t le_sup_ctrl_StartApp(const char *appName)void le_sup_ctrl_DisconnectService(void)le_result_t le_sup_ctrl_StopLegato(void)le_result_t le_sup_ctrl_RestartLegato(bool manualRestart)void le_sup_ctrl_ConnectService(void)le_sup_ctrl_AppRef_t le_sup_ctrl_GetAppRef(const char *appName)le_result_t le_sup_ctrl_StopApp(const char *appName)le_result_t le_sup_ctrl_TryConnectService(void)