summaryrefslogtreecommitdiffstats
path: root/xup/xup.h
diff options
context:
space:
mode:
Diffstat (limited to 'xup/xup.h')
-rw-r--r--xup/xup.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xup/xup.h b/xup/xup.h
index 96e56946..e53a6607 100644
--- a/xup/xup.h
+++ b/xup/xup.h
@@ -26,6 +26,8 @@
#include "os_calls.h"
#include "defines.h"
+#define CURRENT_MOD_VER 1
+
struct mod
{
int size; /* size of this struct */
@@ -82,7 +84,8 @@ struct mod
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);
+ char* data, int data_len,
+ int total_data_len, int flags);
tbus server_dumby[100 - 24]; /* align, 100 minus the number of server
functions above */
/* common */