| GReturn GCALL GPublishServer | ( | GCStringIn | name, |
| GOption | publish, | ||
| GOption | save | ||
| ) |
Uses GUtility(), G_UTIL_GCAPS_PUBLISH_SERVER to publish local gcaps server to the local network.
| name | The name of the server to publish or remove |
| publish | Option to publish or remove server from network |
| save | Option to save this configuration for future reboots |
This function is used to make your local gcaps server "Discoverable" or "Invisible"
publish Option:
Set to 1 to publish server to the network and make "Discoverable"
Set to 0 to remove server from the network and make "Invisible"
save Option:
Set to 1 to save the configuration for future reboots of the server
Set to 0 to use this configuration once, and not overwrite previous server settings
Definition at line 189 of file gclibo.c.
References G_GCAPS_OPEN_ERROR, G_NO_ERROR, G_UTIL_GCAPS_PUBLISH_SERVER, GUtility(), and vector().
Referenced by remote_server().