moved orders state to one struct
This commit is contained in:
parent
aefa66e3a2
commit
06186b0b75
@ -116,18 +116,9 @@ struct xrdp_rdp
|
|||||||
struct xrdp_client_info client_info;
|
struct xrdp_client_info client_info;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* orders */
|
/* state */
|
||||||
struct xrdp_orders
|
struct xrdp_orders_state
|
||||||
{
|
{
|
||||||
struct stream* out_s;
|
|
||||||
struct xrdp_rdp* rdp_layer;
|
|
||||||
struct xrdp_session* session;
|
|
||||||
struct xrdp_wm* wm;
|
|
||||||
|
|
||||||
char* order_count_ptr; /* pointer to count, set when sending */
|
|
||||||
int order_count;
|
|
||||||
int order_level; /* inc for every call to xrdp_orders_init */
|
|
||||||
|
|
||||||
int last_order; /* last order sent */
|
int last_order; /* last order sent */
|
||||||
|
|
||||||
int clip_left; /* RDP_ORDER_BOUNDS, RDP_ORDER_LASTBOUNDS */
|
int clip_left; /* RDP_ORDER_BOUNDS, RDP_ORDER_LASTBOUNDS */
|
||||||
@ -204,6 +195,20 @@ struct xrdp_orders
|
|||||||
char* text_data;
|
char* text_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* orders */
|
||||||
|
struct xrdp_orders
|
||||||
|
{
|
||||||
|
struct stream* out_s;
|
||||||
|
struct xrdp_rdp* rdp_layer;
|
||||||
|
struct xrdp_session* session;
|
||||||
|
struct xrdp_wm* wm;
|
||||||
|
|
||||||
|
char* order_count_ptr; /* pointer to count, set when sending */
|
||||||
|
int order_count;
|
||||||
|
int order_level; /* inc for every call to xrdp_orders_init */
|
||||||
|
struct xrdp_orders_state orders_state;
|
||||||
|
};
|
||||||
|
|
||||||
/* xrdp_tcp.c */
|
/* xrdp_tcp.c */
|
||||||
struct xrdp_tcp* APP_CC
|
struct xrdp_tcp* APP_CC
|
||||||
xrdp_tcp_create(struct xrdp_iso* owner, int sck);
|
xrdp_tcp_create(struct xrdp_iso* owner, int sck);
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user