| VarEntry & FlashPage structures creation/deletion
|
| TIEXPORT2 VarEntry* TICALL tifiles_ve_create(void) |
| Return value : |
the entry or NULL if error.
|
| TIEXPORT2 VarEntry* TICALL tifiles_ve_create_alloc_data(uint32_t size) |
| size : |
length of data.
|
| Return value : |
the entry or NULL if error.
|
| return tifiles_ve_create_alloc_data(size); |
| size : |
length of data.
|
| Return value : |
| TIEXPORT2 VarEntry* TICALL tifiles_ve_create_with_data2(uint32_t size, uint8_t * data) |
| data : |
data.
|
| size : |
length of data.
|
| Return value : |
the entry or NULL if error.
|
| TIEXPORT2 void TICALL tifiles_ve_delete(VarEntry* ve) |
| ve : |
var entry.
|
| Return value : |
none.
|
| TIEXPORT2 void * TICALL tifiles_ve_alloc_data(size_t size) |
| size : |
length of data.
|
| Return value : |
allocated space or NULL if error.
|
| TIEXPORT2 VarEntry * TICALL tifiles_ve_realloc_data(VarEntry* ve, size_t size) |
| size : |
length of data.
|
| Return value : |
allocated space or NULL if error.
|
| return g_free(data); |
| data : |
length of data.
|
| Return value : |
| TIEXPORT2 VarEntry** TICALL tifiles_ve_create_array(unsigned int nelts) |
| nelts : |
size of NULL-terminated array (number of VarEntry structures).
|
| Return value : |
the array or NULL if error.
|
| TIEXPORT2 VarEntry** TICALL tifiles_ve_resize_array(VarEntry** array, unsigned int nelts) |
| array : |
address of array
|
| nelts : |
size of NULL-terminated array (number of VarEntry structures).
|
| Return value : |
the array or NULL if error.
|
| TIEXPORT2 void TICALL tifiles_ve_delete_array(VarEntry** array) |
| array : |
an NULL-terminated array of VarEntry structures.
|
| Return value : |
none.
|
| TIEXPORT2 VarEntry* TICALL tifiles_ve_copy(VarEntry* dst, VarEntry* src) |
| dst : |
destination entry.
|
| src : |
source entry.
|
| Return value : |
the dst pointer or NULL if malloc error.
|
| TIEXPORT2 VarEntry* TICALL tifiles_ve_dup(VarEntry* src) |
| src : |
source entry.
|
| Return value : |
a newly allocated entry (must be freed with #tifiles_ve_delete when no longer needed).
|
| TIEXPORT2 FlashPage* TICALL tifiles_fp_create(void) |
| Return value : |
the entry or NULL if error.
|
| TIEXPORT2 void * TICALL tifiles_fp_alloc_data(size_t size) |
| size : |
length of data.
|
| Return value : |
allocated space or NULL if error.
|
| TIEXPORT2 FlashPage * TICALL tifiles_fp_realloc_data(FlashPage* fp, size_t size) |
| size : |
new length of data.
|
| Return value : |
flash page, or NULL if error.
|
| return g_free(data); |
| data : |
length of data.
|
| Return value : |
| TIEXPORT2 FlashPage* TICALL tifiles_fp_create_alloc_data(uint32_t size) |
| size : |
length of data.
|
| Return value : |
the entry or NULL if error.
|
| return tifiles_fp_create_alloc_data(size); |
| size : |
length of data.
|
| Return value : |
| TIEXPORT2 FlashPage* TICALL tifiles_fp_create_with_data2(uint32_t size, uint8_t * data) |
| data : |
data.
|
| size : |
length of data.
|
| Return value : |
the entry or NULL if error.
|
| TIEXPORT2 FlashPage** TICALL tifiles_fp_create_array(unsigned int nelts) |
| nelts : |
size of NULL-terminated array (number of FlashPage structures).
|
| Return value : |
the array or NULL if error.
|
| TIEXPORT2 FlashPage** TICALL tifiles_fp_resize_array(FlashPage** array, unsigned int nelts) |
| array : |
address of array
|
| nelts : |
size of NULL-terminated array (number of FlashPage structures).
|
| Return value : |
the array or NULL if error.
|
| TIEXPORT2 void TICALL tifiles_fp_delete(FlashPage* fp) |
| ve : |
var entry.
|
| Return value : |
none.
|
| TIEXPORT2 void TICALL tifiles_fp_delete_array(FlashPage** array) |
| array : |
an NULL-terminated array of FlashPage structures.
|
| Return value : |
none.
|