All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_sup_ctrl_interface.h File Reference
#include "legato.h"

Go to the source code of this file.

Functions

void le_sup_ctrl_ConnectService (void)
 
void le_sup_ctrl_DisconnectService (void)
 
le_result_t le_sup_ctrl_StartApp (const char *appName)
 
le_result_t le_sup_ctrl_StopApp (const char *appName)
 
le_result_t le_sup_ctrl_StopLegato (void)
 

Detailed Description

Legato Supervisor Control API include file.

Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.

Function Documentation

void le_sup_ctrl_ConnectService ( void  )

Connect the client to the service

void le_sup_ctrl_DisconnectService ( void  )

Disconnect the client from the service

le_result_t le_sup_ctrl_StartApp ( const char *  appName)

Starts an application.

Returns
LE_OK if the application is successfully started. LE_DUPLICATE if the application is already running. LE_NOT_FOUND if the application is not installed. LE_FAULT if there was an error and the application could not be launched.
Parameters
[in]appNameThe name of the application to start.
le_result_t le_sup_ctrl_StopApp ( const char *  appName)

Stops an application.

Returns
LE_OK if successful. LE_NOT_FOUND if the application could not be found.
Parameters
[in]appNameThe name of the application to stop.
le_result_t le_sup_ctrl_StopLegato ( void  )

Stops the Legato framework.

Returns
LE_OK if successful. LE_DUPLICATE if the framework is in the process of shutting down because someone else has already requested that the framework be stopped.