2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

pstree: Move struct pid to pstree.h

I believe this make sense to keep this structure
in pstree.h where pstree related data lives.

Also I've added some comments on struct pid members.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-10-08 18:59:36 +04:00
committed by Pavel Emelyanov
parent 17a1548a5b
commit e0be540401
4 changed files with 18 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
#define __CR_NS_H__
#include "crtools.h"
#include "pstree.h"
int dump_namespaces(struct pid *pid, unsigned int ns_flags);
int prepare_namespace(int pid, unsigned long clone_flags);