comparison sshpty.h @ 285:1b9e69c058d2

propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3) to branch 'au.asn.ucc.matt.dropbear' (head fdf4a7a3b97ae5046139915de7e40399cceb2c01)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 13:23:58 +0000
parents fe6bca95afa7
children
comparison
equal deleted inserted replaced
281:997e6f7dc01e 285:1b9e69c058d2
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 <[email protected]>
7 * Copyright (c) 1995 Tatu Ylonen <[email protected]>, 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 */