aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/center_com.h
diff options
context:
space:
mode:
authorpzread <netfirewall@gmail.com>2013-04-02 19:09:10 +0800
committerpzread <netfirewall@gmail.com>2013-04-02 19:09:10 +0800
commit3c6abbe11d9f2d173020add74217af2d450a1d16 (patch)
tree1cbd2ffc3081d75f58d7a15cbdfdecc0aa8e69e7 /toj/center/src/center_com.h
parent5ecfc12aad9e7b6d43273de7aefd514e430fec49 (diff)
downloadtaiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar.gz
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar.bz2
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar.lz
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar.xz
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.tar.zst
taiwan-online-judge-3c6abbe11d9f2d173020add74217af2d450a1d16.zip
Add problem cache update system. Fix UI scroll problem and bug
Diffstat (limited to 'toj/center/src/center_com.h')
-rwxr-xr-x[-rw-r--r--]toj/center/src/center_com.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toj/center/src/center_com.h b/toj/center/src/center_com.h
index 73f3ff3..6973eec 100644..100755
--- a/toj/center/src/center_com.h
+++ b/toj/center/src/center_com.h
@@ -23,11 +23,10 @@ struct center_com_setid{
struct center_com_setinfo{
int avail;
}__attribute__((packed));
-struct center_com_submit{
+struct center_com_submit{ //judt submit header
int subid;
int proid;
int lang;
- char set_data[JUDGE_SET_DATAMAX];
}__attribute__((packed));
struct center_com_result{ //just result header
int subid;
@@ -40,6 +39,7 @@ struct center_com_setpro{
}__attribute__((packed));
struct center_com_reqpro{
int proid;
+ int cacheid;
}__attribute__((packed));
struct center_com_sendpro{
int proid;