Add parent client to resource.
This commit is contained in:
parent
ddf705ad26
commit
eabd17df64
@ -39,6 +39,8 @@
|
||||
#ifndef _GUAC_RESOURCE_H
|
||||
#define _GUAC_RESOURCE_H
|
||||
|
||||
#include "client.h"
|
||||
|
||||
/**
|
||||
* Provides functions and structures required for handling resources.
|
||||
*
|
||||
@ -94,6 +96,11 @@ struct guac_resource {
|
||||
*/
|
||||
guac_resource_reject_handler* reject_handler;
|
||||
|
||||
/**
|
||||
* The client this resource was allocated for.
|
||||
*/
|
||||
guac_client* client;
|
||||
|
||||
/**
|
||||
* Arbitrary data associated with this resource.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user