Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_appMgmt_common.h
Go to the documentation of this file.
1 
2 /*
3  * ====================== WARNING ======================
4  *
5  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
6  * DO NOT MODIFY IN ANY WAY.
7  *
8  * ====================== WARNING ======================
9  */
10 #ifndef TAF_APPMGMT_COMMON_H_INCLUDE_GUARD
11 #define TAF_APPMGMT_COMMON_H_INCLUDE_GUARD
12 
13 
14 #include "legato.h"
15 
16 #define IFGEN_TAF_APPMGMT_PROTOCOL_ID "347780641c4b9919bc0664fe14d9903e"
17 #define IFGEN_TAF_APPMGMT_MSG_SIZE 268
18 
19 
20 
21 //--------------------------------------------------------------------------------------------------
25 //--------------------------------------------------------------------------------------------------
26 #define TAF_APPMGMT_APP_NAME_BYTES 48
27 
28 //--------------------------------------------------------------------------------------------------
32 //--------------------------------------------------------------------------------------------------
33 #define TAF_APPMGMT_APP_VERSION_BYTES 101
34 
35 //--------------------------------------------------------------------------------------------------
39 //--------------------------------------------------------------------------------------------------
40 #define TAF_APPMGMT_APP_HASH_BYTES 101
41 
42 //--------------------------------------------------------------------------------------------------
46 //--------------------------------------------------------------------------------------------------
47 typedef struct taf_appMgmt_AppList* taf_appMgmt_AppListRef_t;
48 
49 
50 //--------------------------------------------------------------------------------------------------
54 //--------------------------------------------------------------------------------------------------
55 typedef struct taf_appMgmt_App* taf_appMgmt_AppRef_t;
56 
57 
58 //--------------------------------------------------------------------------------------------------
62 //--------------------------------------------------------------------------------------------------
63 typedef enum
64 {
69 }
71 
72 
73 //--------------------------------------------------------------------------------------------------
77 //--------------------------------------------------------------------------------------------------
78 typedef enum
79 {
84 }
86 
87 
88 //--------------------------------------------------------------------------------------------------
92 //--------------------------------------------------------------------------------------------------
93 typedef struct
94 {
95  char name[48 + 1];
96  char version[101 + 1];
97  char hash[101 + 1];
101 }
103 
104 
105 
106 //--------------------------------------------------------------------------------------------------
110 //--------------------------------------------------------------------------------------------------
112 (
113  void
114 );
115 
116 
117 //--------------------------------------------------------------------------------------------------
121 //--------------------------------------------------------------------------------------------------
123 (
124  void
125 );
126 
127 
128 //--------------------------------------------------------------------------------------------------
132 //--------------------------------------------------------------------------------------------------
134 (
135  le_msg_SessionRef_t _ifgen_sessionRef
136 );
137 
138 
139 //--------------------------------------------------------------------------------------------------
143 //--------------------------------------------------------------------------------------------------
145 (
146  le_msg_SessionRef_t _ifgen_sessionRef,
147  bool isBlocking
148 );
149 
150 //--------------------------------------------------------------------------------------------------
158 //--------------------------------------------------------------------------------------------------
160 (
161  le_msg_SessionRef_t _ifgen_sessionRef,
162  const char* LE_NONNULL appName
164 );
165 
166 //--------------------------------------------------------------------------------------------------
175 //--------------------------------------------------------------------------------------------------
177 (
178  le_msg_SessionRef_t _ifgen_sessionRef,
179  const char* LE_NONNULL appName,
181  char* version,
183  size_t versionSize
185 );
186 
187 //--------------------------------------------------------------------------------------------------
199 //--------------------------------------------------------------------------------------------------
201 (
202  le_msg_SessionRef_t _ifgen_sessionRef,
203  const char* LE_NONNULL appName
205 );
206 
207 //--------------------------------------------------------------------------------------------------
217 //--------------------------------------------------------------------------------------------------
219 (
220  le_msg_SessionRef_t _ifgen_sessionRef,
221  const char* LE_NONNULL appName
223 );
224 
225 //--------------------------------------------------------------------------------------------------
237 //--------------------------------------------------------------------------------------------------
239 (
240  le_msg_SessionRef_t _ifgen_sessionRef,
241  const char* LE_NONNULL appName
243 );
244 
245 //--------------------------------------------------------------------------------------------------
253 //--------------------------------------------------------------------------------------------------
255 (
256  le_msg_SessionRef_t _ifgen_sessionRef
257 );
258 
259 //--------------------------------------------------------------------------------------------------
268 //--------------------------------------------------------------------------------------------------
270 (
271  le_msg_SessionRef_t _ifgen_sessionRef,
272  taf_appMgmt_AppListRef_t appListRef
274 );
275 
276 //--------------------------------------------------------------------------------------------------
284 //--------------------------------------------------------------------------------------------------
286 (
287  le_msg_SessionRef_t _ifgen_sessionRef,
288  taf_appMgmt_AppListRef_t appListRef
290 );
291 
292 //--------------------------------------------------------------------------------------------------
300 //--------------------------------------------------------------------------------------------------
302 (
303  le_msg_SessionRef_t _ifgen_sessionRef,
304  taf_appMgmt_AppListRef_t appListRef
306 );
307 
308 //--------------------------------------------------------------------------------------------------
319 //--------------------------------------------------------------------------------------------------
321 (
322  le_msg_SessionRef_t _ifgen_sessionRef,
323  taf_appMgmt_AppRef_t appRef,
325  taf_appMgmt_AppInfo_t * appInfoPtr
327 );
328 
329 #endif // TAF_APPMGMT_COMMON_H_INCLUDE_GUARD
LE_SHARED le_result_t ifgen_taf_appMgmt_Uninstall(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL appName)
App is running.
Definition: taf_appMgmt_common.h:67
LE_SHARED taf_appMgmt_AppRef_t ifgen_taf_appMgmt_GetNextApp(le_msg_SessionRef_t _ifgen_sessionRef, taf_appMgmt_AppListRef_t appListRef)
LE_SHARED taf_appMgmt_AppListRef_t ifgen_taf_appMgmt_CreateAppList(le_msg_SessionRef_t _ifgen_sessionRef)
LE_SHARED le_result_t ifgen_taf_appMgmt_GetVersion(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL appName, char *version, size_t versionSize)
LE_SHARED le_result_t ifgen_taf_appMgmt_DeleteAppList(le_msg_SessionRef_t _ifgen_sessionRef, taf_appMgmt_AppListRef_t appListRef)
bool isSandboxed
Definition: taf_appMgmt_common.h:99
Definition: taf_appMgmt_common.h:93
LE_SHARED taf_appMgmt_AppState_t ifgen_taf_appMgmt_GetState(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL appName)
LE_SHARED le_result_t ifgen_taf_appMgmt_Stop(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL appName)
LE_SHARED taf_appMgmt_AppRef_t ifgen_taf_appMgmt_GetFirstApp(le_msg_SessionRef_t _ifgen_sessionRef, taf_appMgmt_AppListRef_t appListRef)
LE_SHARED le_result_t ifgen_taf_appMgmt_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
LE_SHARED void ifgen_taf_appMgmt_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
taf_appMgmt_AppStartMode_t startMode
Definition: taf_appMgmt_common.h:98
LE_SHARED le_result_t ifgen_taf_appMgmt_GetAppDetails(le_msg_SessionRef_t _ifgen_sessionRef, taf_appMgmt_AppRef_t appRef, taf_appMgmt_AppInfo_t *appInfoPtr)
bool isActivated
Definition: taf_appMgmt_common.h:100
struct taf_appMgmt_App * taf_appMgmt_AppRef_t
Definition: taf_appMgmt_common.h:55
App started manually.
Definition: taf_appMgmt_common.h:80
taf_appMgmt_AppState_t
Definition: taf_appMgmt_common.h:63
#define LE_NONNULL
Definition: le_basics.h:368
taf_appMgmt_AppStartMode_t
Definition: taf_appMgmt_common.h:78
le_result_t
Definition: le_basics.h:45
App started automatically.
Definition: taf_appMgmt_common.h:82
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
LE_SHARED bool ifgen_taf_appMgmt_HasLocalBinding(void)
struct taf_appMgmt_AppList * taf_appMgmt_AppListRef_t
Definition: taf_appMgmt_common.h:47
LE_SHARED void ifgen_taf_appMgmt_InitCommonData(void)
App is not running.
Definition: taf_appMgmt_common.h:65
#define LE_SHARED
Definition: le_basics.h:297
LE_SHARED le_result_t ifgen_taf_appMgmt_Start(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL appName)