aboutsummaryrefslogtreecommitdiffstats
path: root/judge/judgx_com.h
diff options
context:
space:
mode:
authorpzread <netfirewall@gmail.com>2013-03-01 22:30:00 +0800
committerpzread <netfirewall@gmail.com>2013-03-01 22:30:00 +0800
commit56688ed6d0b18f68ac8ddd82c4944c5d2777d20a (patch)
treebb943e164f82b4a826f1d9ce253bfabf912c0004 /judge/judgx_com.h
parent69d7b55a1c9d3100d42b9c91ab995de44b13d73b (diff)
downloadtaiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar.gz
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar.bz2
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar.lz
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar.xz
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.tar.zst
taiwan-online-judge-56688ed6d0b18f68ac8ddd82c4944c5d2777d20a.zip
Taiwan Online Judge Alpha 1
Diffstat (limited to 'judge/judgx_com.h')
-rw-r--r--judge/judgx_com.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/judge/judgx_com.h b/judge/judgx_com.h
deleted file mode 100644
index 80efc12..0000000
--- a/judge/judgx_com.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#define IOCTL_PROC_ADD _IOWR('x',0x0,int)
-#define IOCTL_PROC_GET _IOWR('x',0x1,int)
-#define IOCTL_PROC_KILL _IOR('x',0x2,int)
-#define IOCTL_PROC_DEL _IOR('x',0x3,int)
-
-struct judgx_com_proc_add{
- char run_path[PATH_MAX + 1];
- unsigned long pid;
- unsigned long task;
- unsigned long timelimit;
- unsigned long hardtimelimit;
- unsigned long memlimit;
-};
-struct judgx_com_proc_get{
- unsigned long task;
- int status;
- unsigned long runtime;
- unsigned long peakmem;
-};