![]() |
Entry Points
|
TIEXPORT3 int TICALL ticalcs_library_init(void) |
Return value : |
the instance count.
|
TIEXPORT3 int TICALL ticalcs_library_exit(void) |
Return value : |
the instance count.
|
TIEXPORT3 const char *TICALL ticalcs_version_get(void) |
Return value : |
a string.
|
TIEXPORT3 uint32_t TICALL ticalcs_supported_calcs (void) |
Return value : |
an integer containing a binary OR of (1 << CALC_*) values,
where CALC_* values are defined in enum CalcModel.
|
TIEXPORT3 CalcHandle* TICALL ticalcs_handle_new(CalcModel model) |
model : |
a hand-held model
|
Return value : |
NULL if error, an handle otherwise.
|
TIEXPORT3 int TICALL ticalcs_handle_del(CalcHandle* handle) |
handle : |
the handle
|
Return value : |
always 0.
|
TIEXPORT3 int TICALL ticalcs_handle_show(CalcHandle* handle) |
handle : |
the handle
|
Return value : |
always 0.
|
TIEXPORT3 int TICALL ticalcs_cable_attach(CalcHandle* handle, CableHandle* cable) |
handle : |
the handle
|
cable : |
a cable to use
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_cable_detach(CalcHandle* handle) |
handle : |
the handle
|
cable : |
a cable to use
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_update_set(CalcHandle* handle, CalcUpdate* upd) |
handle : |
the handle
|
update : |
the callbacks to use
|
Return value : |
0 if successful, an error code otherwise.
|
{ |
model : |
a calculator model taken in #CalcModel.
|
Return value : |
nonzero if the calculator supports the DBUS protocol, zero if it doesn't.
|
{ |
model : |
a calculator model taken in #CalcModel.
|
Return value : |
nonzero if the calculator supports the DUSB protocol, zero if it doesn't.
|
{ |
model : |
a calculator model taken in #CalcModel.
|
Return value : |
nonzero if the calculator supports the NSP protocol, zero if it doesn't.
|