Types / Strings conversions
|
TIEXPORT1 const char *TICALL ticables_model_to_string(CableModel model) |
model : |
a cable model.
|
Return value : |
a string like "BlackLink".
|
TIEXPORT1 CableModel TICALL ticables_string_to_model(const char *str) |
str : |
a cable model as string like "BlackLink".
|
Return value : |
a cable model.
|
TIEXPORT1 const char *TICALL ticables_port_to_string(CablePort port) |
port : |
a link port.
|
Return value : |
a string like "#1".
|
TIEXPORT1 CablePort TICALL ticables_string_to_port(const char *str) |
str : |
a link port as string like "#1".
|
Return value : |
a link port.
|
TIEXPORT1 const char *TICALL ticables_usbpid_to_string(UsbPid pid) |
pid : |
a Usb Product Id.
|
Return value : |
a string like "SilverLink".
|
TIEXPORT1 UsbPid TICALL ticables_string_to_usbpid(const char *str) |
str : |
a Usb Product Id as string like "SilverLink".
|
Return value : |
a Usb Product Id.
|