aboutgitcodelistschat:MatrixIRC
path: root/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'actions.h')
-rw-r--r--actions.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/actions.h b/actions.h
new file mode 100644
index 0000000..3636f04
--- /dev/null
+++ b/actions.h
@@ -0,0 +1,20 @@
+#ifndef ACIONS_H
+#define ACTIONS_H
+
+#include <errno.h>
+
+#define STACK_SIZE (1024 * 1024 / 8)
+#define NS_NUM (sizeof(enum ns_type))
+
+struct arg_clone {
+ const struct act_call *args;
+ pid_t pid;
+ long ret;
+ int err;
+};
+
+int do_call(struct arg_clone *c);
+int do_actions(struct action actions[], unsigned int n_actions, int tpid,
+ int notifyfd, uint64_t id);
+#endif /* ACTIONS_H */
+