![]() |
Miscellaneous
|
TIEXPORT2 int TICALL tifiles_calc_is_ti8x(CalcModel model) |
model : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_calc_is_ti9x(CalcModel model) |
model : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_calc_are_compat(CalcModel model, CalcModel ref) |
model : |
a calculator model.
|
ref : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_has_folder(CalcModel calc_type) |
model : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_is_flash(CalcModel calc_type) |
model : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_has_backup(CalcModel calc_type) |
model : |
a calculator model.
|
Return value : |
a boolean value.
|
TIEXPORT2 uint16_t TICALL tifiles_checksum(const uint8_t * buffer, unsigned int size) |
buffer : |
an array of bytes.
|
size : |
the length of the array.
|
Return value : |
the ckecksum.
|
char *str; |
ptr : |
a pointer on some data to dump
|
len : |
the number of bytes to dump
|
Return value : |
TIEXPORT2 char *TICALL tifiles_get_varname(const char *full_name) |
full_name : |
a calculator path such as 'fldname\varname'.
|
Return value : |
varname as string. It should not be modified (static).
|
TIEXPORT2 char *TICALL tifiles_get_fldname(const char *full_name) |
Return value : |
a static string.
|
TIEXPORT2 char *TICALL tifiles_get_fldname_s(const char *full_name, char * dest_fldname) |
full_name : |
a calculator path such as 'fldname\varname'.
|
dest_fldname : |
a destination buffer for storing the variable name, assumed to be at least FLDNAME_MAX characters large.
|
Return value : |
the given buffer, dest_fldname.
|
TIEXPORT2 char* TICALL tifiles_build_fullname(CalcModel model, char *full_name, const char *fldname, const char *varname) |
model : |
a calculator model.
|
full_name : |
the buffer where to store the result.
|
fldname : |
the name of folder or "".
|
varname : |
the name of variable
|
Return value : |
a full path as string like 'fldname\varname'.
|
TIEXPORT2 char* TICALL tifiles_build_filename(CalcModel model, const VarEntry *ve) |
model : |
a calculator model.
|
ve : |
a #VarEntry structure.
|
Return value : |
a newly allocated string which must be freed with tifiles_filename_free() when no longer used.
|
g_free(filename); |
filename : |
a previously allocated file name.
|
Return value : |