Reads single line from file.
Parameters:
- File -
File descriptor to read from.
- Line -
Buffer where t ostore result.
- count -
Maximal length of text which can be stored in buffer.
Return: Length of read line, -1 on error.
Gets Gammu library version.
Gets compiler which was used to compile Gammu library.
Gets host OS.
Returns path to Gammu locales.
Initializes locales. This sets up things needed for proper string conversion from local charset as well as initializes gettext based translation.
Parameters:
- path -
Path to gettext translation. If NULL compiled in default is used.
Encodes text to hexadecimal binary representation.
Returns TRUE if firmware version is newer.
Parameters:
- latest_version -
String containing version (eg. latest available).
- current_version -
String containing version (eg. current one).
Return: True if latest_version > current_version.