summaryrefslogtreecommitdiffstats
path: root/mc/mc.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-07-10 21:57:04 -0700
committerJay Sorg <jay.sorg@gmail.com>2015-07-10 21:57:04 -0700
commit4a553e07af27d99ba1557ffea126a7db2e471dd7 (patch)
treeceb98632804740431d406d33bcbe8f796883281c /mc/mc.h
parent65de5e971b015b191664865a95c6cbd9d674440c (diff)
downloadxrdp-proprietary-4a553e07af27d99ba1557ffea126a7db2e471dd7.tar.gz
xrdp-proprietary-4a553e07af27d99ba1557ffea126a7db2e471dd7.zip
update the module API
Diffstat (limited to 'mc/mc.h')
-rw-r--r--mc/mc.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/mc/mc.h b/mc/mc.h
index 684219c7..ac31334c 100644
--- a/mc/mc.h
+++ b/mc/mc.h
@@ -24,7 +24,7 @@
#include "os_calls.h"
#include "defines.h"
-#define CURRENT_MOD_VER 2
+#define CURRENT_MOD_VER 3
struct mod
{
@@ -42,8 +42,8 @@ struct mod
int (*mod_get_wait_objs)(struct mod* v, tbus* read_objs, int* rcount,
tbus* write_objs, int* wcount, int* timeout);
int (*mod_check_wait_objs)(struct mod* v);
- long mod_dumby[100 - 9]; /* align, 100 minus the number of mod
- functions above */
+ tintptr mod_dumby[100 - 9]; /* 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);
@@ -85,14 +85,15 @@ struct mod
char* data, int data_len,
int total_data_len, int flags);
int (*server_bell_trigger)(struct mod* v);
- long server_dumby[100 - 25]; /* align, 100 minus the number of server
- functions above */
+ tintptr server_dumby[100 - 25]; /* align, 100 minus the number of server
+ functions above */
/* common */
- long handle; /* pointer to self as long */
- long wm;
- long painter;
- int sck;
+ tintptr handle; /* pointer to self as long */
+ tintptr wm;
+ tintptr painter;
+ tintptr si;
/* mod data */
+ int sck;
int width;
int height;
int bpp;