dechunker: Create separate module for dechunking
The code in xrdp_channel.c to handle dechunking on a virtual channel is moved to a separate module to allow for better sharing of logic.
This commit is contained in:
+3
-1
@@ -151,6 +151,8 @@ struct xrdp_drdynvc
|
||||
int (*data)(struct xrdp_process *id, int chan_id, char *data, int bytes);
|
||||
};
|
||||
|
||||
struct vc_dechunker; // Forward declaration
|
||||
|
||||
/* channel */
|
||||
struct xrdp_channel
|
||||
{
|
||||
@@ -158,7 +160,7 @@ struct xrdp_channel
|
||||
struct xrdp_mcs *mcs_layer;
|
||||
int drdynvc_channel_id;
|
||||
int drdynvc_state;
|
||||
struct stream *s;
|
||||
struct vc_dechunker *drdynvc_dc;
|
||||
struct xrdp_drdynvc drdynvcs[256];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user