le_flash_common.h File Reference

#include "legato.h"

Go to the source code of this file.

Macros

#define LE_FLASH_IMAGE_NAME_MAX_LEN   32
 
#define LE_FLASH_IMAGE_NAME_MAX_BYTES   33
 
#define LE_FLASH_PARTITION_NAME_MAX_LEN   50
 
#define LE_FLASH_PARTITION_NAME_MAX_BYTES   51
 
#define LE_FLASH_VOLUME_NAME_MAX_LEN   50
 
#define LE_FLASH_VOLUME_NAME_MAX_BYTES   51
 
#define LE_FLASH_MAX_WRITE_SIZE   262144
 
#define LE_FLASH_MAX_READ_SIZE   262144
 
#define LE_FLASH_UBI_VOL_NO_SIZE   -1
 
#define LE_FLASH_UBI_VOL_NO_ID   -1
 
#define LE_FLASH_UBI_VOL_ID_MAX   127
 

Typedefs

typedef struct le_flash_Partition * le_flash_PartitionRef_t
 
typedef struct le_flash_BadImageDetectionHandler * le_flash_BadImageDetectionHandlerRef_t
 
typedef void(* le_flash_BadImageDetectionHandlerFunc_t) (const char *LE_NONNULL imageName, void *contextPtr)
 

Enumerations

enum  le_flash_OpenMode_t { LE_FLASH_READ_ONLY = 0, LE_FLASH_WRITE_ONLY = 1, LE_FLASH_READ_WRITE = 2 }
 
enum  le_flash_UbiVolumeType_t { LE_FLASH_DYNAMIC = 0, LE_FLASH_STATIC = 1 }
 

Detailed Description

Type definitions for le_flash.