diff options
author | jsorg71 <jsorg71> | 2005-02-08 03:45:30 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-02-08 03:45:30 +0000 |
commit | cf6e2abd416c26105396fa0dd1834e3879fa2e08 (patch) | |
tree | 920d5099051e3b3b036ffa097d554fb3af5bd504 /vnc/vnc.h | |
parent | d2da72f5c96f537a1b8bed9af0f5b648c06e530a (diff) | |
download | xrdp-proprietary-cf6e2abd416c26105396fa0dd1834e3879fa2e08.tar.gz xrdp-proprietary-cf6e2abd416c26105396fa0dd1834e3879fa2e08.zip |
added a bunch of error checks
Diffstat (limited to 'vnc/vnc.h')
-rw-r--r-- | vnc/vnc.h | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -14,7 +14,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. xrdp: A Remote Desktop Protocol server. - Copyright (C) Jay Sorg 2004 + Copyright (C) Jay Sorg 2004-2005 libvnc @@ -35,10 +35,8 @@ struct vnc int (*mod_connect)(struct vnc* v); int (*mod_event)(struct vnc* v, int msg, int param1, int param2); int (*mod_signal)(struct vnc* v); - int (*mod_invalidate)(struct vnc* v, int x, int y, int cx, int cy); int (*mod_end)(struct vnc* v); int (*mod_set_param)(struct vnc* v, char* name, char* value); - int d1[93]; /* server functions */ int (*server_begin_update)(struct vnc* v); int (*server_end_update)(struct vnc* v); @@ -51,11 +49,10 @@ struct vnc int (*server_set_cursor)(struct vnc* v, int x, int y, char* data, char* mask); int (*server_palette)(struct vnc* v, int* palette); int (*server_error_popup)(struct vnc* v, char* error, char* caption); - int d2[92]; /* common */ - int handle; /* pointer to self as int */ - int wm; - int painter; + long handle; /* pointer to self as int */ + long wm; + long painter; int sck; /* mod data */ int server_width; @@ -72,4 +69,5 @@ struct vnc char password[256]; char ip[256]; char port[256]; + int sck_closed; }; |