le_update_common.h File Reference

#include "legato.h"
#include "le_limit_common.h"

Go to the source code of this file.

Typedefs

typedef struct le_update_ProgressHandler * le_update_ProgressHandlerRef_t
 
typedef void(* le_update_ProgressHandlerFunc_t) (le_update_State_t updateState, uint32_t percentDone, void *contextPtr)
 

Enumerations

enum  le_update_State_t {
  LE_UPDATE_STATE_UNPACKING = 0, LE_UPDATE_STATE_DOWNLOAD_SUCCESS = 1, LE_UPDATE_STATE_APPLYING = 2, LE_UPDATE_STATE_SUCCESS = 3,
  LE_UPDATE_STATE_FAILED = 4
}
 
enum  le_update_ErrorCode_t { LE_UPDATE_ERR_NONE = 0, LE_UPDATE_ERR_BAD_PACKAGE = 1, LE_UPDATE_ERR_INTERNAL_ERROR = 2, LE_UPDATE_ERR_SECURITY_FAILURE = 3 }
 

Detailed Description

Type definitions for le_update.