summaryrefslogtreecommitdiffstats
path: root/xup/xup.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 /xup/xup.h
parent0dc679e2dc3ddf71735585cf53c4b717ab5b11a9 (diff)
downloadxrdp-proprietary-4b3b83044a29e89d958c3bf0ea2660b978e3c027.tar.gz
xrdp-proprietary-4b3b83044a29e89d958c3bf0ea2660b978e3c027.zip
more work on channel support
Diffstat (limited to 'xup/xup.h')
-rw-r--r--xup/xup.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/xup/xup.h b/xup/xup.h
index 02a5bf6f..ca5653e8 100644
--- a/xup/xup.h
+++ b/xup/xup.h
@@ -29,6 +29,7 @@
struct mod
{
int size; /* size of this struct */
+ int version; /* internal version */
/* client functions */
int (*mod_start)(struct mod* v, int w, int h, int bpp);
int (*mod_connect)(struct mod* v);
@@ -37,6 +38,8 @@ struct mod
int (*mod_signal)(struct mod* v);
int (*mod_end)(struct mod* v);
int (*mod_set_param)(struct mod* 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 mod* v);
int (*server_end_update)(struct mod* v);
@@ -70,6 +73,14 @@ struct mod
int box_right, int box_bottom,
int x, int y, char* data, int data_len);
int (*server_reset)(struct mod* v, int width, int height, int bpp);
+ int (*server_query_channel)(struct mod* v, int index,
+ char* channel_name,
+ int* channel_flags);
+ int (*server_get_channel_id)(struct mod* v, char* name);
+ int (*server_send_to_channel)(struct mod* 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;