| Top |
| const gchar * | inf_protocol_get_version () |
| gboolean | inf_protocol_parse_version () |
| guint | inf_protocol_get_default_port () |
const gchar *
inf_protocol_get_version (void);
Returns the version of the Infinote protocol implemented by this version of libinfinity.
gboolean inf_protocol_parse_version (const gchar *version,guint *major,guint *minor,GError **error);
Splits the given version string into it's major and minor version number.
If the string is badly formatted then the function returns FALSE, error
is set and major
and minor
are left untouched.
It is guaranteed that, if version
is inf_protocol_get_version(), the
function does not fail.