sshpty.h revision 162852
1162852Sdes/* $OpenBSD: sshpty.h,v 1.10 2006/08/03 03:34:42 deraadt Exp $ */
292555Sdes
376259Sgreen/*
476259Sgreen * Author: Tatu Ylonen <ylo@cs.hut.fi>
576259Sgreen * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
676259Sgreen *                    All rights reserved
776259Sgreen * Functions for allocating a pseudo-terminal and making it the controlling
876259Sgreen * tty.
976259Sgreen *
1076259Sgreen * As far as I am concerned, the code I have written for this software
1176259Sgreen * can be used freely for any purpose.  Any derived versions of this
1276259Sgreen * software must be clearly marked as such, and if the derived work is
1376259Sgreen * incompatible with the protocol description in the RFC file, it must be
1476259Sgreen * called by a name other than "ssh" or "Secure Shell".
1576259Sgreen */
1676259Sgreen
17162852Sdes#include <termios.h>
1876259Sgreen
19137015Sdesstruct termios get_saved_tio(void);
20137015Sdesvoid	 leave_raw_mode(void);
21137015Sdesvoid	 enter_raw_mode(void);
22137015Sdes
23162852Sdesint	 pty_allocate(int *, int *, char *, size_t);
2492555Sdesvoid	 pty_release(const char *);
2592555Sdesvoid	 pty_make_controlling_tty(int *, const char *);
26162852Sdesvoid	 pty_change_window_size(int, u_int, u_int, u_int, u_int);
2792555Sdesvoid	 pty_setowner(struct passwd *, const char *);
28