Header File Index

| TiFiles Library API

The tifiles library provide a complete API (Application Programming Interface) which makes use of TI files easy and transparent.
Functions and data types are grouped in different topics, depending on their purpose. Click on a topic for the description of all functions and data types defined in this topic.

Important note: due to the fact that TiLP & TiEmu heavily use the GLib library, the tifiles2 library use the 'glib filename encoding' for filenames.
The 'glib filename encoding' encodes filenames with the following charsets:
- UTF-8 charset on Windows,
- locale charset on Linux (usually UTF-8 but this is not always true).

Please note that UTF-8 does not change encoding of ASCII characters (0x00-0x7f). For more information, take a look at <http://www.unicode.org/charts> and <http://www.czyborra.com/utf>

Important note 2: due to the new USB hand-helds, the folder & variable names are not always encoded as 'raw' any longer for now. The tifiles2 library use the 'Ti-File varname encoding' for varnames (see ticonv library documentation: the varname can be encoded as raw/TI8x-charset (TI8x), TI9x-charset (TI9x) or pseudo UTF-8 (TI84+ USB & Titanium USB)).

The real string type depends on the calculator model passed by tifiles_set_tve() and relies on ticonv conversion routines to be handled fine (eg to you have to convert it with ticonv_varname_to_utf8/utf16 before displaying it or ticonv_varname_to_filename to save it).

Enumerations, structures and type definitions

- FileAttr
- FileClass
- FileEncoding
- DeviceType
- VarEntry
- FileContent
- BackupContent
- FlashPage
- FlashContent
- TigContent

Entry Points

- tifiles_library_init
- tifiles_library_exit
- tifiles_version_get

General Functions

- tifiles_get_error
- tifiles_error_free

Types and strings conversions

- tifiles_model_to_string
- tifiles_string_to_model
- tifiles_attribute_to_string
- tifiles_string_to_attribute
- tifiles_class_to_string
- tifiles_string_to_class

File type checking

- tifiles_fext_of_group
- tifiles_fext_of_backup
- tifiles_fext_of_flash_app
- tifiles_fext_of_flash_os
- tifiles_fext_of_certif
- tifiles_fext_get
- tifiles_fext_dup
- tifiles_fext_free
- tifiles_file_has_ti_header
- tifiles_file_has_tib_header
- tifiles_file_has_tig_header
- tifiles_file_has_tifl_header
- tifiles_file_has_tno_header
- tifiles_model_to_dev_type
- tifiles_file_is_ti
- tifiles_file_is_single
- tifiles_file_is_group
- tifiles_file_is_regular
- tifiles_file_is_backup
- tifiles_file_is_os
- tifiles_file_is_app
- tifiles_file_is_flash
- tifiles_file_is_tib
- tifiles_file_is_tigroup
- tifiles_file_is_tno
- tifiles_file_test
- tifiles_fext_to_model
- tifiles_file_get_model
- tifiles_file_get_class
- tifiles_file_get_type
- tifiles_file_get_icon

Miscelaneous

- tifiles_calc_is_ti8x
- tifiles_calc_is_ti9x
- tifiles_calc_are_compat
- tifiles_has_folder
- tifiles_is_flash
- tifiles_has_backup
- tifiles_checksum
- tifiles_hexdump
- tifiles_get_varname
- tifiles_get_fldname
- tifiles_build_fullname
- tifiles_build_filename
- tifiles_filename_free

Types and strings conversions

- tifiles_vartype2string
- tifiles_string2vartype
- tifiles_vartype2fext
- tifiles_fext2vartype
- tifiles_vartype2type
- tifiles_vartype2icon
- tifiles_folder_type
- tifiles_flash_type
- tifiles_idlist_type
- tifiles_calctype2signature
- tifiles_signature2calctype

Operations on TI files (single/group only)

- tifiles_content_create_regular
- tifiles_content_delete_regular
- tifiles_content_dup_regular
- tifiles_file_read_regular
- tifiles_file_write_regular
- tifiles_file_display_regular
- tifiles_content_create_backup
- tifiles_content_delete_backup
- tifiles_file_read_backup
- tifiles_file_write_backup
- tifiles_file_display_backup
- tifiles_content_create_flash
- tifiles_content_delete_flash
- tifiles_content_dup_flash
- tifiles_file_read_flash
- tifiles_file_write_flash2
- tifiles_file_write_flash
- tifiles_file_display_flash
- tifiles_file_display
- tifiles_create_table_of_entries

Grouping/Ungrouping of TI files

- tifiles_content_create_group
- tifiles_content_delete_group
- tifiles_group_contents
- tifiles_ungroup_content
- tifiles_group_files
- tifiles_ungroup_file
- tifiles_content_add_entry
- tifiles_content_del_entry
- tifiles_group_add_file
- tifiles_group_del_file

Automatic comments in files

- tifiles_comment_set_single
- tifiles_comment_set_group
- tifiles_comment_set_backup
- tifiles_comment_set_tigroup

VarEntry & FlashPage structures creation/deletion

- tifiles_ve_create
- tifiles_ve_create_alloc_data
- tifiles_ve_create_with_data
- tifiles_ve_create_with_data2
- tifiles_ve_delete
- tifiles_ve_alloc_data
- tifiles_ve_realloc_data
- tifiles_ve_free_data
- tifiles_ve_create_array
- tifiles_ve_resize_array
- tifiles_ve_delete_array
- tifiles_ve_copy
- tifiles_ve_dup
- tifiles_fp_create
- tifiles_fp_alloc_data
- tifiles_fp_realloc_data
- tifiles_fp_free_data
- tifiles_fp_create_alloc_data
- tifiles_fp_create_alloc_data
- tifiles_fp_create_with_data2
- tifiles_fp_create_array
- tifiles_fp_resize_array
- tifiles_fp_delete
- tifiles_fp_delete_array

Operations on Ti Groups (*.tig)

- tifiles_te_create
- tifiles_te_delete
- tifiles_te_display
- tifiles_te_create_array
- tifiles_te_resize_array
- tifiles_ve_delete_array
- tifiles_te_sizeof_array
- tifiles_content_add_te
- tifiles_content_del_te
- tifiles_tigroup_add_file
- tifiles_tigroup_del_file
- tifiles_tigroup_contents
- tifiles_untigroup_content
- tifiles_group_files
- tifiles_ungroup_file
- tifiles_content_create_tigroup
- tifiles_content_delete_tigroup
- tifiles_file_read_tigroup
- tifiles_file_write_tigroup
- tifiles_file_display_tigroup
- tifiles_file_display_tigcontent

### Return to the main index