diff options
author | jsorg71 <jsorg71> | 2007-01-20 05:14:11 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-01-20 05:14:11 +0000 |
commit | 06186b0b75d9fa2b87e278b74b43ccff181230c8 (patch) | |
tree | 6f44750815ad374ec330e758d49376c68df58c11 /libxrdp/libxrdp.h | |
parent | aefa66e3a2f537baf2e952142e4554260f6c7e6f (diff) | |
download | xrdp-proprietary-06186b0b75d9fa2b87e278b74b43ccff181230c8.tar.gz xrdp-proprietary-06186b0b75d9fa2b87e278b74b43ccff181230c8.zip |
moved orders state to one struct
Diffstat (limited to 'libxrdp/libxrdp.h')
-rw-r--r-- | libxrdp/libxrdp.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h index a4a4a299..12d3c944 100644 --- a/libxrdp/libxrdp.h +++ b/libxrdp/libxrdp.h @@ -116,18 +116,9 @@ struct xrdp_rdp struct xrdp_client_info client_info; }; -/* orders */ -struct xrdp_orders +/* state */ +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 clip_left; /* RDP_ORDER_BOUNDS, RDP_ORDER_LASTBOUNDS */ @@ -204,6 +195,20 @@ struct xrdp_orders 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 */ struct xrdp_tcp* APP_CC xrdp_tcp_create(struct xrdp_iso* owner, int sck); |