summaryrefslogtreecommitdiff
path: root/sshtty.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshtty.h')
-rw-r--r--sshtty.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/sshtty.h b/sshtty.h
index e29385e3..7ba4a262 100644
--- a/sshtty.h
+++ b/sshtty.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshtty.h,v 1.1 2001/04/14 16:33:20 stevesk Exp $ */
+/* $OpenBSD: sshtty.h,v 1.2 2001/06/26 17:27:25 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -40,26 +40,9 @@
#include <termios.h>
-/*
- * Accessor function indicating whether we are in raw mode. Set by
- * enter_raw_mode() and leave_raw_mode().
- */
-int in_raw_mode(void);
-
-/*
- * Return terminal modes, as saved by enter_raw_mode().
- */
+int in_raw_mode(void);
struct termios get_saved_tio(void);
-
-/*
- * Returns the user's terminal to normal mode if it had been
- * put in raw mode.
- */
-void leave_raw_mode(void);
-
-/*
- * Puts the user's terminal in raw mode.
- */
-void enter_raw_mode(void);
+void leave_raw_mode(void);
+void enter_raw_mode(void);
#endif