usbmodeswitch: Updated to v.1.2.6 from shibby's branch.
[tomato.git] / release / src / router / dropbear / sshpty.h
blobcf72072397c46492c860e99d7f5490991db4e72e
1 /* $OpenBSD: sshpty.h,v 1.4 2002/03/04 17:27:39 stevesk Exp $ */
3 /*
4 * Copied from openssh-3.5p1 source by Matt Johnston 2003
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.
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".
19 #ifndef SSHPTY_H
20 #define SSHPTY_H
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 *);
28 #endif /* SSHPTY_H */