Tizen Native API  7.0
Top level functions

Functions that affect Eet as a whole.

Functions

int eet_init (void)
 Initializes the EET library.
int eet_shutdown (void)
 Shuts down the EET library.
void eet_clearcache (void)
 Clears eet cache.

Typedefs

typedef enum _Eet_Error Eet_Error

Typedef Documentation

typedef enum _Eet_Error Eet_Error

Eet error identifiers


Enumeration Type Documentation

enum _Eet_Error

All the error identifiers known by Eet.

Enumerator:
EET_ERROR_NONE 

No error, it's all fine!

EET_ERROR_BAD_OBJECT 

Given object or handle is NULL or invalid

EET_ERROR_EMPTY 

There was nothing to do

EET_ERROR_NOT_WRITABLE 

Could not write to file or file is EET_FILE_MODE_READ

EET_ERROR_OUT_OF_MEMORY 

Could not allocate memory

EET_ERROR_WRITE_ERROR 

Failed to write data to destination

EET_ERROR_WRITE_ERROR_FILE_TOO_BIG 

Failed to write file since it is too big

EET_ERROR_WRITE_ERROR_IO_ERROR 

Failed to write due a generic Input/Output error

EET_ERROR_WRITE_ERROR_OUT_OF_SPACE 

Failed to write due out of space

EET_ERROR_WRITE_ERROR_FILE_CLOSED 

Failed to write because file was closed

EET_ERROR_MMAP_FAILED 

Could not mmap file

EET_ERROR_X509_ENCODING_FAILED 

Could not encode using X509

EET_ERROR_SIGNATURE_FAILED 

Could not validate signature

EET_ERROR_INVALID_SIGNATURE 

Signature is invalid

EET_ERROR_NOT_SIGNED 

File or contents are not signed

EET_ERROR_NOT_IMPLEMENTED 

Function is not implemented

EET_ERROR_PRNG_NOT_SEEDED 

Could not introduce random seed

EET_ERROR_ENCRYPT_FAILED 

Could not encrypt contents

EET_ERROR_DECRYPT_FAILED 

Could not decrypt contents


Function Documentation

void eet_clearcache ( void  )

Clears eet cache.

For a faster access to previously accessed data, Eet keeps an internal cache of files. These files will be freed automatically only when they are unused and the cache gets full, in order based on the last time they were used. On systems with little memory this may present an unnecessary constraint, so eet_clearcache() is available for users to reclaim the memory used by files that are no longer needed. Those that were open using EET_FILE_MODE_WRITE or EET_FILE_MODE_READ_WRITE and have modifications, will be written down to disk before flushing them from memory.

Since (EFL) :
1.0.0
Since :
3.0
int eet_init ( void  )

Initializes the EET library.

The first time this function is called, it will perform all the internal initialization required for the library to function properly and increment the initialization counter. Any subsequent call only increment this counter and return its new value, so it's safe to call this function more than once.

Returns:
The new init count. Will be 0 if initialization failed.
Since (EFL) :
1.0.0
Since :
3.0
int eet_shutdown ( void  )

Shuts down the EET library.

If eet_init() was called more than once for the running application, eet_shutdown() will decrement the initialization counter and return its new value, without doing anything else. When the counter reaches 0, all of the internal elements will be shutdown and any memory used freed.

Returns:
The new init count.
Since (EFL) :
1.0.0
Since :
3.0

Variable Documentation

Eet_Version* eet_version

Eet Version Information

Since :
3.0