VarEntry & FlashPage structures creation/deletion
|
TIEXPORT2 VarEntry* TICALL tifiles_ve_create(void) |
Return value : |
the entry or NULL if error.
|
TIEXPORT2 void *tifiles_ve_alloc_data(size_t size) |
size : |
length of data.
|
Return value : |
allocated space or NULL if error.
|
TIEXPORT2 VarEntry* TICALL tifiles_ve_create_with_data(uint32_t size) |
size : |
length of data.
|
Return value : |
the entry or NULL if error.
|
TIEXPORT2 VarEntry** TICALL tifiles_ve_create_array(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, 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(VarEntry* ve) |
ve : |
var entry.
|
Return value : |
none.
|
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 *tifiles_fp_alloc_data(size_t size) |
size : |
length of data.
|
Return value : |
allocated space or NULL if error.
|
TIEXPORT2 FlashPage* TICALL tifiles_fp_create_with_data(uint32_t size) |
size : |
length of data.
|
Return value : |
the entry or NULL if error.
|
TIEXPORT2 FlashPage** TICALL tifiles_fp_create_array(int nelts) |
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.
|