From fd8ce33f59f8be0942aa90443085578b937c542b Mon Sep 17 00:00:00 2001 From: ilsimo Date: Sun, 25 Mar 2007 13:42:45 +0000 Subject: adding libscp to xup some fixes for vnc mod --- xup/xup.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xup/xup.h') diff --git a/xup/xup.h b/xup/xup.h index ca5653e8..f8538e97 100644 --- a/xup/xup.h +++ b/xup/xup.h @@ -26,6 +26,8 @@ #include "os_calls.h" #include "defines.h" +#include "../sesman/libscp.h" + struct mod { int size; /* size of this struct */ @@ -38,7 +40,7 @@ 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 + long mod_dumby[100 - 6]; /* align, 100 minus the number of mod functions above */ /* server functions */ int (*server_begin_update)(struct mod* v); @@ -79,7 +81,7 @@ struct mod 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 + long server_dumby[100 - 24]; /* align, 100 minus the number of server functions above */ /* common */ long handle; /* pointer to self as long */ -- cgit v1.2.1