criu/include/ipc_ns.h
Pavel Emelyanov 3a1c7d1d76 ns: Introduce ns descriptors
These are structs that (now) tie together ns string
and the CLONE_ flag. It's nice to have one (some code
becomes simpler) and will help us with auto-namespaces
detection.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-15 23:24:01 +04:00

16 lines
478 B
C

#ifndef __CR_IPC_NS_H__
#define __CR_IPC_NS_H__
#include "crtools.h"
struct cr_options;
extern void show_ipc_var(int fd, struct cr_options *);
extern void show_ipc_shm(int fd, struct cr_options *);
extern void show_ipc_msg(int fd, struct cr_options *);
extern void show_ipc_sem(int fd, struct cr_options *);
extern int dump_ipc_ns(int ns_pid, const struct cr_fdset *fdset);
extern int prepare_ipc_ns(int pid);
extern struct ns_desc ipc_ns_desc;
#endif /* __CR_IPC_NS_H__ */