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