Restored guac_client_stop.

This commit is contained in:
Michael Jumper 2011-12-01 22:57:34 -08:00
parent 81bea52e4d
commit 3c5a54e303
2 changed files with 13 additions and 0 deletions

View File

@ -490,6 +490,15 @@ void vguac_client_log_info(guac_client* client, const char* format, va_list ap);
*/
void vguac_client_log_error(guac_client* client, const char* format, va_list ap);
/**
* Signals the given client to stop gracefully. This is a completely
* cooperative signal, and can be ignored by the client or the hosting
* daemon.
*
* @param client The proxy client to signal to stop.
*/
void guac_client_stop(guac_client* client);
/**
* The default Guacamole client layer, layer 0.
*/

View File

@ -306,3 +306,7 @@ void guac_client_log_error(guac_client* client, const char* format, ...) {
}
void guac_client_stop(guac_client* client) {
client->state = STOPPING;
}