GReturn GCALL GServerStatus | ( | GCStringOut | status, |
GSize | status_len | ||
) |
Uses GUtility(), G_UTIL_GCAPS_SERVER_STATUS to get information on the local server name and if it is published to the local network.
status | The buffer to hold the status of the local gcaps server |
status_len | The length of the status buffer |
This function is used to find the status of your local gcaps server. Use this function to determine the name your server is currently using, and whether or not your gcaps server is currently set to "Discoverable" or "Invisible"
The status buffer will be filled in the form of "[Server Name], [Discoverable]"
For example, for a server with the name "Example Server" that is set to "Discoverable", the status buffer would contain "Example Server, true".
Definition at line 149 of file gclibo.c.
References G_GCAPS_OPEN_ERROR, G_NO_ERROR, G_UTIL_GCAPS_SERVER_STATUS, and GUtility().