aboutsummaryrefslogtreecommitdiffstats
path: root/judgk/judgk.h
diff options
context:
space:
mode:
Diffstat (limited to 'judgk/judgk.h')
-rw-r--r--judgk/judgk.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/judgk/judgk.h b/judgk/judgk.h
new file mode 100644
index 0000000..18f9a6c
--- /dev/null
+++ b/judgk/judgk.h
@@ -0,0 +1,16 @@
+struct judgk_proc_info{
+ struct hlist_node node;
+ struct list_head list;
+
+ struct task_struct *task;
+ struct file *std_in;
+ struct file *std_out;
+ char run_path[PATH_MAX + 1];
+ int status;
+ unsigned long timelimit;
+ unsigned long jiff_start;
+ unsigned long jiff_end;
+ unsigned long memlimit;
+ unsigned long runtime;
+ unsigned long memory;
+};