• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*	$OpenBSD: sshpty.h,v 1.4 2002/03/04 17:27:39 stevesk Exp $	*/
2 
3 /*
4  * Copied from openssh-3.5p1 source by Matt Johnston 2003
5  *
6  * Author: Tatu Ylonen <ylo@cs.hut.fi>
7  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8  *                    All rights reserved
9  * Functions for allocating a pseudo-terminal and making it the controlling
10  * tty.
11  *
12  * As far as I am concerned, the code I have written for this software
13  * can be used freely for any purpose.  Any derived versions of this
14  * software must be clearly marked as such, and if the derived work is
15  * incompatible with the protocol description in the RFC file, it must be
16  * called by a name other than "ssh" or "Secure Shell".
17  */
18 
19 #ifndef SSHPTY_H
20 #define SSHPTY_H
21 
22 int	 pty_allocate(int *, int *, char *, int);
23 void	 pty_release(const char *);
24 void	 pty_make_controlling_tty(int *, const char *);
25 void	 pty_change_window_size(int, int, int, int, int);
26 void	 pty_setowner(struct passwd *, const char *);
27 
28 #endif /* SSHPTY_H */
29