libcalcfiles API |
The libcalcfiles 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 CalcForgeLP & Emu-TIGCC heavily use the GLib
library, libcalcfiles uses 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 libcalcfiles
library uses the 'Ti-File varname encoding' for varnames (see the libcalcconv
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 calcfiles_set_tve() and relies on libcalcconv conversion routines to be handled fine (eg to you have to convert it with calcconv_varname_to_utf8/utf16 before displaying it or calcconv_varname_to_filename to save it).
==========[ List of entries ]==========