![]() |
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 CalcModel TICALL ticalcs_get_model(CalcHandle *handle) |
handle : |
the handle
|
Return value : |
an integer containing the calc handle's calculator model.
|
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
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 CableHandle* TICALL ticalcs_cable_get(CalcHandle *handle) |
handle : |
the handle
|
Return value : |
the cable handle or NULL.
|
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.
|
TIEXPORT3 CalcUpdate* TICALL ticalcs_update_get(CalcHandle *handle) |
handle : |
the handle
|
Return value : |
the update struct pointer or NULL.
|
{ |
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.
|
{ |
model : |
a calculator model taken in #CalcModel.
|
Return value : |
nonzero if the calculator supports installing additional FlashApps onto the calculator, zero if it doesn't.
|
{ |
Return value : |
a function pointer.
|
{ |
hook : |
new post recv hook
|
Return value : |
the previous post recv hook, so that the caller can use it to chain hooks.
|
{ |
Return value : |
the previous post recv hook, so that the caller can use it to chain hooks.
|
{ |
user_pointer : |
new user pointer
|
Return value : |
the previous post recv hook, so that the caller can use it to chain hooks.
|
{ |
Return value : |
an unsigned integer.
|
{ |
handle : |
a previously allocated handle.
|
type : |
event type.
|
user_data : |
user-specified data.
|
user_len : |
user-specified length.
|
Return value : |
0 if successful, an error code otherwise.
|