summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.h
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2013-07-15 10:13:03 +0300
committerspeidy <speidy@gmail.com>2013-07-15 10:13:03 +0300
commita8e5b3fee51604d68d8ecd36065396ba42c7be3f (patch)
tree297a0b4a64d6e53c55eee2f6e8e75b9ffa1afe24 /libxrdp/libxrdp.h
parentaab0176867552516a8358463e875cf437887f31c (diff)
downloadxrdp-proprietary-a8e5b3fee51604d68d8ecd36065396ba42c7be3f.tar.gz
xrdp-proprietary-a8e5b3fee51604d68d8ecd36065396ba42c7be3f.zip
libxrdp: work on multi-mon support
Diffstat (limited to 'libxrdp/libxrdp.h')
-rw-r--r--libxrdp/libxrdp.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h
index d31edbb4..66b0cb61 100644
--- a/libxrdp/libxrdp.h
+++ b/libxrdp/libxrdp.h
@@ -59,6 +59,16 @@ struct mcs_channel_item
int chanid;
};
+/* used in mcs - client monitor data */
+struct mcs_monitor_item
+{
+ int x;
+ int y;
+ int width;
+ int height;
+ int is_primary;
+};
+
/* mcs */
struct xrdp_mcs
{
@@ -69,6 +79,7 @@ struct xrdp_mcs
struct stream* client_mcs_data;
struct stream* server_mcs_data;
struct list* channel_list;
+ struct list* monitor_list;
};
/* sec */
@@ -99,6 +110,7 @@ struct xrdp_sec
char pub_sig[64];
char pri_exp[64];
int channel_code;
+ int multimon;
};
/* channel */
@@ -285,7 +297,7 @@ xrdp_mcs_disconnect(struct xrdp_mcs* self);
/* xrdp_sec.c */
struct xrdp_sec* APP_CC
xrdp_sec_create(struct xrdp_rdp* owner, struct trans* trans, int crypt_level,
- int channel_code);
+ int channel_code, int multimon);
void APP_CC
xrdp_sec_delete(struct xrdp_sec* self);
int APP_CC