s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak)
[util-vserver.git] / util-vserver / kernel / signal.h
index 7d0d430..b17c18e 100644 (file)
@@ -1,27 +1,14 @@
 #ifndef _VX_SIGNAL_H
 #define _VX_SIGNAL_H
 
-#include "switch.h"
-
-/*  context signalling */
-
-#define VCMD_ctx_kill          VC_CMD(PROCTRL, 1, 0)
-#define VCMD_wait_exit         VC_CMD(EVENT, 99, 0)
-
-struct vcmd_ctx_kill_v0 {
-       int32_t pid;
-       int32_t sig;
-};
+#ifdef __KERNEL__
 
-struct vcmd_wait_exit_v0 {
-       int32_t a;
-       int32_t b;
-};
 
-#ifdef __KERNEL__
+struct vx_info;
 
-extern int vc_ctx_kill(uint32_t, void __user *);
-extern int vc_wait_exit(uint32_t, void __user *);
+int vx_info_kill(struct vx_info *, int, int);
 
 #endif /* __KERNEL__ */
+#else  /* _VX_SIGNAL_H */
+#warning duplicate inclusion
 #endif /* _VX_SIGNAL_H */