X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/22616013c4eef383b19b8ad4f95780a316d0a51b..HEAD:/openssh/sshpty.h diff --git a/openssh/sshpty.h b/openssh/sshpty.h index ac90035..4eb479f 100644 --- a/openssh/sshpty.h +++ b/openssh/sshpty.h @@ -1,5 +1,3 @@ -/* $OpenBSD: sshpty.h,v 1.11 2008/05/19 15:45:07 djm Exp $ */ - /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -14,14 +12,15 @@ * called by a name other than "ssh" or "Secure Shell". */ -#include +/* RCSID("$OpenBSD: sshpty.h,v 1.3 2001/06/26 17:27:25 markus Exp $"); */ -struct termios *get_saved_tio(void); -void leave_raw_mode(void); -void enter_raw_mode(void); +#ifndef SSHPTY_H +#define SSHPTY_H -int pty_allocate(int *, int *, char *, size_t); +int pty_allocate(int *, int *, char *, int); void pty_release(const char *); void pty_make_controlling_tty(int *, const char *); -void pty_change_window_size(int, u_int, u_int, u_int, u_int); +void pty_change_window_size(int, int, int, int, int); void pty_setowner(struct passwd *, const char *); + +#endif /* SSHPTY_H */