]> andersk Git - openssh.git/blobdiff - sshpty.h
- (dtucker) [sftp-common.c] Wrap include of util.h in an ifdef.
[openssh.git] / sshpty.h
index c0678de2219d7e6ae88df92549bd883d2aa0d4f7..cfa322480f55aa21397e7efc284ad7522317f4bc 100644 (file)
--- a/sshpty.h
+++ b/sshpty.h
@@ -1,4 +1,4 @@
-/*     $OpenBSD: sshpty.h,v 1.5 2004/05/08 00:01:37 deraadt Exp $      */
+/* $OpenBSD: sshpty.h,v 1.12 2010/01/09 05:04:24 djm Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * called by a name other than "ssh" or "Secure Shell".
  */
 
-#ifndef SSHPTY_H
-#define SSHPTY_H
+#include <termios.h>
 
-struct termios get_saved_tio(void);
-void    leave_raw_mode(void);
-void    enter_raw_mode(void);
+struct termios *get_saved_tio(void);
+void    leave_raw_mode(int);
+void    enter_raw_mode(int);
 
-int     pty_allocate(int *, int *, char *, int);
+int     pty_allocate(int *, int *, char *, size_t);
 void    pty_release(const char *);
 void    pty_make_controlling_tty(int *, const char *);
-void    pty_change_window_size(int, int, int, int, int);
+void    pty_change_window_size(int, u_int, u_int, u_int, u_int);
 void    pty_setowner(struct passwd *, const char *);
-
-#endif                         /* SSHPTY_H */
This page took 0.250515 seconds and 4 git commands to generate.