]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/console.c
make tty helper functions extern
authorChristian Brauner <christian.brauner@mailbox.org>
Mon, 15 Feb 2016 18:40:55 +0000 (19:40 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Sun, 21 Feb 2016 16:04:41 +0000 (17:04 +0100)
commit0d4137ccb25910b27e0e648a3aa7506f2541c4e6
treee6a74845ce56a450ac9ac2ff545a8f5e82322547
parent014d5e1e58778bbdca755fbb7e51b6355983cb4d
make tty helper functions extern

- lxc_console_cb_tty_stdin()
- lxc_console_cb_tty_master()
- lxc_setup_tios(int fd, struct termios *oldtios);
- lxc_console_winsz(int srcfd, int dstfd);
- lxc_console_cb_sigwinch_fd(int fd, uint32_t events, void *cbdata,
struct lxc_epoll_descr *descr);
- lxc_tty_state *lxc_console_sigwinch_init(int srcfd, int dstfd);
- lxc_console_sigwinch_fini(struct lxc_tty_state *ts);

We can make use these functions in other modules.

Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
src/lxc/cgmanager.c
src/lxc/console.c
src/lxc/console.h