Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_update_interface.h
Go to the documentation of this file.
1 
2 
3 /*
4  * ====================== WARNING ======================
5  *
6  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
7  * DO NOT MODIFY IN ANY WAY.
8  *
9  * ====================== WARNING ======================
10  */
11 
131 #ifndef TAF_UPDATE_INTERFACE_H_INCLUDE_GUARD
132 #define TAF_UPDATE_INTERFACE_H_INCLUDE_GUARD
133 
134 
135 #include "legato.h"
136 
137 // Internal includes for this interface
138 #include "taf_update_common.h"
139 //--------------------------------------------------------------------------------------------------
143 //--------------------------------------------------------------------------------------------------
144 typedef void (*taf_update_DisconnectHandler_t)(void *);
145 
146 //--------------------------------------------------------------------------------------------------
158 //--------------------------------------------------------------------------------------------------
160 (
161  void
162 );
163 
164 //--------------------------------------------------------------------------------------------------
183 //--------------------------------------------------------------------------------------------------
185 (
186  void
187 );
188 
189 //--------------------------------------------------------------------------------------------------
197 //--------------------------------------------------------------------------------------------------
199 (
200  taf_update_DisconnectHandler_t disconnectHandler,
201  void *contextPtr
202 );
203 
204 //--------------------------------------------------------------------------------------------------
215 //--------------------------------------------------------------------------------------------------
217 (
218  taf_update_DisconnectHandler_t disconnectHandler,
219  void *contextPtr
220 );
221 
222 //--------------------------------------------------------------------------------------------------
233 //--------------------------------------------------------------------------------------------------
235 (
236  void
237 );
238 
239 //--------------------------------------------------------------------------------------------------
245 //--------------------------------------------------------------------------------------------------
247 (
250  void* contextPtr
252 );
253 
254 //--------------------------------------------------------------------------------------------------
258 //--------------------------------------------------------------------------------------------------
260 (
263 );
264 
265 //--------------------------------------------------------------------------------------------------
272 //--------------------------------------------------------------------------------------------------
274 (
275  void
276 );
277 
278 //--------------------------------------------------------------------------------------------------
288 //--------------------------------------------------------------------------------------------------
290 (
291  taf_update_OTA_t ota,
293  const char* LE_NONNULL name
295 );
296 
297 //--------------------------------------------------------------------------------------------------
305 //--------------------------------------------------------------------------------------------------
307 (
308  const char* LE_NONNULL cfgFile,
310  taf_update_SessionRef_t* sessionPtr
312 );
313 
314 //--------------------------------------------------------------------------------------------------
322 //--------------------------------------------------------------------------------------------------
324 (
327 );
328 
329 //--------------------------------------------------------------------------------------------------
337 //--------------------------------------------------------------------------------------------------
339 (
342 );
343 
344 //--------------------------------------------------------------------------------------------------
352 //--------------------------------------------------------------------------------------------------
354 (
357 );
358 
359 //--------------------------------------------------------------------------------------------------
367 //--------------------------------------------------------------------------------------------------
369 (
372 );
373 
374 //--------------------------------------------------------------------------------------------------
382 //--------------------------------------------------------------------------------------------------
384 (
385  taf_update_PackageType_t pkgType,
387  const char* LE_NONNULL cfgFile,
389  taf_update_SessionRef_t* sessionPtr
391 );
392 
393 //--------------------------------------------------------------------------------------------------
401 //--------------------------------------------------------------------------------------------------
403 (
404  taf_update_SessionRef_t session,
406  const char* LE_NONNULL manifest
408 );
409 
410 //--------------------------------------------------------------------------------------------------
418 //--------------------------------------------------------------------------------------------------
420 (
421  taf_update_SessionRef_t session,
423  const char* LE_NONNULL pkgPath
425 );
426 
427 //--------------------------------------------------------------------------------------------------
435 //--------------------------------------------------------------------------------------------------
437 (
440 );
441 
442 //--------------------------------------------------------------------------------------------------
450 //--------------------------------------------------------------------------------------------------
452 (
453  taf_update_SessionRef_t session,
455  taf_update_Bank_t* bankPtr
457 );
458 
459 //--------------------------------------------------------------------------------------------------
467 //--------------------------------------------------------------------------------------------------
469 (
470  taf_update_SessionRef_t session,
472  const char* LE_NONNULL manifest
474 );
475 
476 //--------------------------------------------------------------------------------------------------
484 //--------------------------------------------------------------------------------------------------
486 (
489 );
490 
491 //--------------------------------------------------------------------------------------------------
499 //--------------------------------------------------------------------------------------------------
501 (
504 );
505 
506 #endif // TAF_UPDATE_INTERFACE_H_INCLUDE_GUARD
le_result_t taf_update_ResumeDownload(taf_update_SessionRef_t session)
Definition: taf_update_client.c:708
le_result_t taf_update_InstallPreCheck(taf_update_SessionRef_t session, const char *LE_NONNULL manifest)
Definition: taf_update_client.c:777
struct taf_update_StateHandler * taf_update_StateHandlerRef_t
Definition: taf_update_common.h:196
le_result_t taf_update_GetInstallationSession(taf_update_PackageType_t pkgType, const char *LE_NONNULL cfgFile, taf_update_SessionRef_t *sessionPtr)
Definition: taf_update_client.c:750
le_result_t taf_update_PauseDownload(taf_update_SessionRef_t session)
Definition: taf_update_client.c:687
le_result_t taf_update_Sync(taf_update_SessionRef_t session)
Definition: taf_update_client.c:915
LE_FULL_API void taf_update_SetNonExitServerDisconnectHandler(taf_update_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_update_client.c:457
le_result_t taf_update_Install(taf_update_OTA_t ota, const char *LE_NONNULL name)
Definition: taf_update_client.c:618
le_result_t taf_update_VerifyActivation(taf_update_SessionRef_t session, const char *LE_NONNULL manifest)
Definition: taf_update_client.c:870
void taf_update_ConnectService(void)
Definition: taf_update_client.c:291
le_result_t taf_update_Rollback(taf_update_SessionRef_t session)
Definition: taf_update_client.c:894
taf_update_OTA_t
Definition: taf_update_common.h:125
taf_update_PackageType_t
Definition: taf_update_common.h:142
le_result_t taf_update_InstallPostCheck(taf_update_SessionRef_t session)
Definition: taf_update_client.c:825
void taf_update_RemoveStateHandler(taf_update_StateHandlerRef_t handlerRef)
Definition: taf_update_client.c:577
taf_update_Bank_t
Definition: taf_update_common.h:163
le_result_t taf_update_CancelDownload(taf_update_SessionRef_t session)
Definition: taf_update_client.c:729
le_result_t taf_update_GetDownloadSession(const char *LE_NONNULL cfgFile, taf_update_SessionRef_t *sessionPtr)
Definition: taf_update_client.c:642
void taf_update_Download(void)
Definition: taf_update_client.c:597
le_result_t taf_update_GetActiveBank(taf_update_SessionRef_t session, taf_update_Bank_t *bankPtr)
Definition: taf_update_client.c:846
struct taf_update_Session * taf_update_SessionRef_t
Definition: taf_update_common.h:47
void(* taf_update_StateHandlerFunc_t)(const taf_update_StateInd_t *LE_NONNULL stateIndPtr, void *contextPtr)
Definition: taf_update_common.h:205
LE_FULL_API void taf_update_SetServerDisconnectHandler(taf_update_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_update_client.c:380
taf_update_StateHandlerRef_t taf_update_AddStateHandler(taf_update_StateHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_update_client.c:557
#define LE_NONNULL
Definition: le_basics.h:368
le_result_t taf_update_TryConnectService(void)
Definition: taf_update_client.c:323
le_result_t taf_update_StartDownload(taf_update_SessionRef_t session)
Definition: taf_update_client.c:666
void(* taf_update_DisconnectHandler_t)(void *)
Definition: taf_update_interface.h:144
le_result_t
Definition: le_basics.h:45
#define LE_FULL_API
Definition: le_apiFeatures.h:42
void taf_update_DisconnectService(void)
Definition: taf_update_client.c:503
le_result_t taf_update_StartInstall(taf_update_SessionRef_t session, const char *LE_NONNULL pkgPath)
Definition: taf_update_client.c:801