Types / Strings conversions

ticables_model_to_string

TIEXPORT1 const char *TICALL ticables_model_to_string(CableModel model)

Do an integer to string conversion.

model :
a cable model.
Return value :
a string like "BlackLink".

ticables_string_to_model

TIEXPORT1 CableModel TICALL ticables_string_to_model(const char *str)

Do a string to integer conversion.

str :
a cable model as string like "BlackLink".
Return value :
a cable model.

ticables_port_to_string

TIEXPORT1 const char *TICALL ticables_port_to_string(CablePort port)

Do an integer to string conversion.

port :
a link port.
Return value :
a string like "#1".

ticables_string_to_port

TIEXPORT1 CablePort TICALL ticables_string_to_port(const char *str)

Do a string to integer conversion.

str :
a link port as string like "#1".
Return value :
a link port.

ticables_usbpid_to_string

TIEXPORT1 const char *TICALL ticables_usbpid_to_string(UsbPid pid)

Do an integer to string conversion.

pid :
a Usb Product Id.
Return value :
a string like "SilverLink".

ticables_usbpid_to_port

TIEXPORT1 UsbPid TICALL ticables_string_to_usbpid(const char *str)

Do a string to integer conversion.

str :
a Usb Product Id as string like "SilverLink".
Return value :
a Usb Product Id.

Return to the main index