File type checking
|
TIEXPORT2 const char *TICALL tifiles_fext_of_group (CalcModel model) |
model : |
a calculator model.
|
Return value : |
a file extenstion as string (like "83g").
|
TIEXPORT2 const char *TICALL tifiles_fext_of_backup (CalcModel model) |
model : |
a calculator model.
|
Return value : |
a file extenstion as string (like "83b").
|
TIEXPORT2 const char *TICALL tifiles_fext_of_flash_app (CalcModel model) |
model : |
a calculator model.
|
Return value : |
a file extenstion as string (like "89k").
|
TIEXPORT2 const char *TICALL tifiles_fext_of_flash_os(CalcModel model) |
model : |
a calculator model.
|
Return value : |
a file extenstion as string (like "89u").
|
TIEXPORT2 const char *TICALL tifiles_fext_of_certif(CalcModel model) |
model : |
a calculator model.
|
Return value : |
a file extenstion as string (like "89q").
|
TIEXPORT2 char *TICALL tifiles_fext_get(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a file extension without dot as string (like "89g").
|
TIEXPORT2 char *TICALL tifiles_fext_dup(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a file extension without dot as string (like "89g").
Need to be freed when no longer needed.
|
TIEXPORT2 int TICALL tifiles_file_is_ti(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_single(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_group(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_regular(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_backup(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_os(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_app(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_flash(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_tib(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_is_tigroup(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a boolean value.
|
TIEXPORT2 int TICALL tifiles_file_test(const char *filename, FileClass type, CalcModel target) |
filename : |
a filename as string.
|
type : |
type to check
|
target : |
hand-held model or CALC_NONE for no filtering
|
Return value : |
a boolean value.
|
TIEXPORT2 CalcModel TICALL tifiles_file_get_model(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a model taken in #CalcModel.
|
TIEXPORT2 FileClass TICALL tifiles_file_get_class(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a value in #FileClass.
|
TIEXPORT2 const char *TICALL tifiles_file_get_type(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a string like "Assembly Program" (localized).
|
TIEXPORT2 const char *TICALL tifiles_file_get_icon(const char *filename) |
filename : |
a filename as string.
|
Return value : |
a string like "Assembly Program" (non localized).
|