]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/attach.h
start: check event loop type before closing fd
[mirror_lxc.git] / src / lxc / attach.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2
3 #ifndef __LXC_ATTACH_H
4 #define __LXC_ATTACH_H
5
6 #include "config.h"
7
8 #include <stdbool.h>
9 #include <sys/types.h>
10
11 #include "lxc.h"
12
13 #include "compiler.h"
14 #include "namespace.h"
15
16 struct lxc_conf;
17 struct lxc_container;
18
19 __hidden extern int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
20 void *exec_payload, lxc_attach_options_t *options,
21 pid_t *attached_process);
22
23 __hidden extern int lxc_attach_remount_sys_proc(void);
24
25 #endif /* __LXC_ATTACH_H */