GReturn GCALL GVersion | ( | GCStringOut | ver, |
GSize | ver_len | ||
) |
Uses GUtility(), G_UTIL_VERSION and G_UTIL_GCAPS_VERSION to provide the library and gcaps version numbers.
ver | Buffer to hold the output string. Buffer will be null terminated, even if the data must be truncated to do so. |
ver_len | Length of buffer. |
The version number of gclib is provided first. If the gcaps server can be found, its version will be provided after a space.
Example with gcaps version.
154.190.329 1.0.0.82
Example with gclib version only.
154.190.329
See x_examples.cpp for an example.
Definition at line 29 of file gclibo.c.
References G_NO_ERROR, G_UTIL_GCAPS_VERSION, G_UTIL_VERSION, GUtility(), and vector().