summaryrefslogtreecommitdiffstats
path: root/vnc/vnc.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-12-30 05:04:13 +0000
committerjsorg71 <jsorg71>2006-12-30 05:04:13 +0000
commit4b3b83044a29e89d958c3bf0ea2660b978e3c027 (patch)
tree0bbc878fef02fd1a4192eb45a9c032984f196253 /vnc/vnc.h
parent0dc679e2dc3ddf71735585cf53c4b717ab5b11a9 (diff)
downloadxrdp-proprietary-4b3b83044a29e89d958c3bf0ea2660b978e3c027.tar.gz
xrdp-proprietary-4b3b83044a29e89d958c3bf0ea2660b978e3c027.zip
more work on channel support
Diffstat (limited to 'vnc/vnc.h')
-rw-r--r--vnc/vnc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/vnc/vnc.h b/vnc/vnc.h
index 90dc14cf..c374c284 100644
--- a/vnc/vnc.h
+++ b/vnc/vnc.h
@@ -29,6 +29,7 @@
struct vnc
{
int size; /* size of this struct */
+ int version; /* internal version */
/* client functions */
int (*mod_start)(struct vnc* v, int w, int h, int bpp);
int (*mod_connect)(struct vnc* v);
@@ -37,6 +38,8 @@ struct vnc
int (*mod_signal)(struct vnc* v);
int (*mod_end)(struct vnc* v);
int (*mod_set_param)(struct vnc* v, char* name, char* value);
+ long mod_dumby[100 - 6]; /* align, 100 minus the number of mod
+ functions above */
/* server functions */
int (*server_begin_update)(struct vnc* v);
int (*server_end_update)(struct vnc* v);
@@ -70,6 +73,14 @@ struct vnc
int box_right, int box_bottom,
int x, int y, char* data, int data_len);
int (*server_reset)(struct vnc* v, int width, int height, int bpp);
+ int (*server_query_channel)(struct vnc* v, int index,
+ char* channel_name,
+ int* channel_flags);
+ int (*server_get_channel_id)(struct vnc* v, char* name);
+ int (*server_send_to_channel)(struct vnc* v, int channel_id,
+ char* data, int data_len);
+ long server_dumby[100 - 24]; /* align, 100 minus the number of server
+ functions above */
/* common */
long handle; /* pointer to self as long */
long wm;