|
|
@ -27,7 +27,7 @@
|
|
|
|
#include "d3des.h"
|
|
|
|
#include "d3des.h"
|
|
|
|
#include "defines.h"
|
|
|
|
#include "defines.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define CURRENT_MOD_VER 1
|
|
|
|
#define CURRENT_MOD_VER 2
|
|
|
|
|
|
|
|
|
|
|
|
struct vnc
|
|
|
|
struct vnc
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -50,7 +50,6 @@ struct vnc
|
|
|
|
/* server functions */
|
|
|
|
/* server functions */
|
|
|
|
int (*server_begin_update)(struct vnc* v);
|
|
|
|
int (*server_begin_update)(struct vnc* v);
|
|
|
|
int (*server_end_update)(struct vnc* v);
|
|
|
|
int (*server_end_update)(struct vnc* v);
|
|
|
|
int (*server_bell_trigger)(struct vnc* v);
|
|
|
|
|
|
|
|
int (*server_fill_rect)(struct vnc* v, int x, int y, int cx, int cy);
|
|
|
|
int (*server_fill_rect)(struct vnc* v, int x, int y, int cx, int cy);
|
|
|
|
int (*server_screen_blt)(struct vnc* v, int x, int y, int cx, int cy,
|
|
|
|
int (*server_screen_blt)(struct vnc* v, int x, int y, int cx, int cy,
|
|
|
|
int srcx, int srcy);
|
|
|
|
int srcx, int srcy);
|
|
|
@ -88,7 +87,8 @@ struct vnc
|
|
|
|
int (*server_send_to_channel)(struct vnc* v, int channel_id,
|
|
|
|
int (*server_send_to_channel)(struct vnc* v, int channel_id,
|
|
|
|
char* data, int data_len,
|
|
|
|
char* data, int data_len,
|
|
|
|
int total_data_len, int flags);
|
|
|
|
int total_data_len, int flags);
|
|
|
|
long server_dumby[100 - 24]; /* align, 100 minus the number of server
|
|
|
|
int (*server_bell_trigger)(struct vnc* v);
|
|
|
|
|
|
|
|
long server_dumby[100 - 25]; /* align, 100 minus the number of server
|
|
|
|
functions above */
|
|
|
|
functions above */
|
|
|
|
/* common */
|
|
|
|
/* common */
|
|
|
|
long handle; /* pointer to self as long */
|
|
|
|
long handle; /* pointer to self as long */
|
|
|
|