aboutsummaryrefslogtreecommitdiffstats
path: root/toj/center/src/judgm_line.h
diff options
context:
space:
mode:
Diffstat (limited to 'toj/center/src/judgm_line.h')
-rwxr-xr-xtoj/center/src/judgm_line.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/toj/center/src/judgm_line.h b/toj/center/src/judgm_line.h
new file mode 100755
index 0000000..1b36c74
--- /dev/null
+++ b/toj/center/src/judgm_line.h
@@ -0,0 +1,19 @@
+struct judgm_line_info{
+ int subid;
+
+ char *pro_path;
+ char *code_path;
+ char *run_path;
+
+ int judgk_modfd;
+ void *line_dll;
+ void *check_dll;
+
+ int lang;
+ FILE *set_file;
+ char *set_data;
+
+ char res_data[JUDGE_RES_DATAMAX];
+ size_t res_len;
+};
+typedef int (*judgm_line_run_fn)(judgm_line_info *info);