#ifndef __AEM_ADAPTER_NVRAM_H__ #define __AEM_ADAPTER_NVRAM_H__ #include typedef uint32_t (*aem_nvram_read_api_t)(uint16_t index, void *p_buf, uint16_t len); typedef uint32_t (*aem_nvram_write_api_t)(uint16_t index, void *p_buf, uint16_t len); typedef uint32_t (*aem_nvram_delete_api_t)(uint16_t index); typedef uint32_t (*aem_nvram_delete_all_api_t)(void); typedef struct { aem_nvram_read_api_t nvram_read; aem_nvram_write_api_t nvram_write; aem_nvram_delete_api_t nvram_delete; aem_nvram_delete_all_api_t nvram_delete_all; } aem_nv_ops_t; const aem_nv_ops_t *aem_get_nv_ops(void); #endif