diff options
author | Peter Krempa <pkrempa@redhat.com> | 2013-08-29 18:15:07 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2013-09-03 14:06:11 +0200 |
commit | 02eaf1821ce643f8c2984cd6004478bd0843116e (patch) | |
tree | 288a604c80a1d8fec93c5307a31a4a2a72e51579 /tools/virsh-console.h | |
parent | 40f1d18fea14219f8d0d21b9eb2d76e8dd11f037 (diff) | |
download | libvirt-02eaf1821ce643f8c2984cd6004478bd0843116e.tar.gz |
virsh: Rename vshMakeStdinRaw to vshTTYMakeRaw and move it to virsh.c
Move the function to virsh.c to the rest of the TTY managing functions
and change the code so that it mirrors the rest.
Diffstat (limited to 'tools/virsh-console.h')
-rw-r--r-- | tools/virsh-console.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/virsh-console.h b/tools/virsh-console.h index 1e3160f0fe..5b82e286d5 100644 --- a/tools/virsh-console.h +++ b/tools/virsh-console.h @@ -26,15 +26,13 @@ # ifndef WIN32 -# include <termios.h> +# include <virsh.h> -int vshRunConsole(virDomainPtr dom, +int vshRunConsole(vshControl *ctl, + virDomainPtr dom, const char *dev_name, - const char *escape_seq, unsigned int flags); -int vshMakeStdinRaw(struct termios *ttyattr, bool report_errors); - # endif /* !WIN32 */ #endif /* __VIR_CONSOLE_H__ */ |