Add resource free stub.

This commit is contained in:
Michael Jumper 2012-08-29 10:00:14 -07:00
parent 7806fdf56c
commit 68e3d1507b

View File

@ -581,6 +581,17 @@ void guac_client_free_layer(guac_client* client, guac_layer* layer);
*/
guac_resource* guac_client_alloc_resource(guac_client* client);
/**
* Frees an existing resource, re-adding it to the client's resource
* pool, such that it can be reused by a subsequent call to
* guac_client_alloc_resource().
*
* @param client The proxy client to free the resource for.
* @oaran resource The resource to return to the resource pool.
*/
void guac_client_free_resource(guac_client* client, guac_resource* resource);
/**
* Logs an informational message in the log used by the given client. The
* logger used will normally be defined by guacd (or whichever program loads