]> git.proxmox.com Git - mirror_lxc.git/blame - src/lxc/attach.h
github: Update for main branch
[mirror_lxc.git] / src / lxc / attach.h
CommitLineData
cc73685d 1/* SPDX-License-Identifier: LGPL-2.1+ */
e0732705 2
f1a4a029
ÇO
3#ifndef __LXC_ATTACH_H
4#define __LXC_ATTACH_H
e0732705 5
1160ce89
CB
6#include "config.h"
7
877f3a04 8#include <stdbool.h>
6f4f1937 9#include <sys/types.h>
e0732705 10
12ae2a33
CB
11#include "lxc.h"
12
9f68a800 13#include "compiler.h"
877f3a04
CB
14#include "namespace.h"
15
2c4ea790 16struct lxc_conf;
0e304baa 17struct lxc_container;
e0732705 18
9f68a800
CB
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);
9c4693b8 22
9f68a800 23__hidden extern int lxc_attach_remount_sys_proc(void);
e4103cf6 24
6f4f1937 25#endif /* __LXC_ATTACH_H */