SEcube open-source SDK
Sefile_custom_sqlite_apis

APIs of SEfile for SQLite DB engine

These APIs customized to apply SEfile to the SQLite db engine. They are called automatically by the custom VFS of SQLite; they are required by SEkey and by the SEcure Database library. You should not need to use these APIs directly.

uint16_t SEfile::securedb_secure_open (char *path, int32_t mode, int32_t creation)
 
uint16_t SEfile::securedb_secure_close ()
 
uint16_t SEfile::securedb_secure_read (uint8_t *dataOut, uint32_t dataOut_len, uint32_t *bytesRead)
 
uint16_t SEfile::securedb_secure_write (uint8_t *dataIn, uint32_t dataIn_len)
 
uint16_t SEfile::securedb_secure_seek (int32_t offset, int32_t *position, uint8_t whence)
 
uint16_t SEfile::securedb_secure_truncate (uint32_t size)
 
uint16_t SEfile::securedb_secure_sync ()
 
uint16_t SEfile::securedb_get_filesize (uint32_t *length)
 
uint16_t SEfile::securedb_secure_create (char *path, std::shared_ptr< SEFILE_HANDLE > hFile, int mode)
 

Detailed Description