X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/732fd4c7e11debd61c97eaaba3038d61e6ec7024..0a2aedfe6d650e825a50f25f972bac20d669f5cb:/src/systty.h
diff --git a/src/systty.h b/src/systty.h
index 682ffdca34..fbdc6b1837 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -1,12 +1,12 @@
/* systty.h - System-dependent definitions for terminals.
- Copyright (C) 1993-1994, 2001-2015 Free Software Foundation, Inc.
+ Copyright (C) 1993-1994, 2001-2016 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see . */
+#ifndef EMACS_SYSTTY_H
+#define EMACS_SYSTTY_H
+
/* Include the proper files. */
#ifndef DOS_NT
@@ -23,6 +26,7 @@ along with GNU Emacs. If not, see . */
#include
#endif /* not DOS_NT */
+#include
#include
#ifdef HPUX
@@ -36,6 +40,8 @@ along with GNU Emacs. If not, see . */
#include
+#include "lisp.h"
+
/* Try to establish the correct character to disable terminal functions
in a system-independent manner. Note that USG (at least) define
@@ -74,10 +80,15 @@ struct emacs_tty {
#ifndef DOS_NT
struct termios main;
#else /* DOS_NT */
- int main;
+ unsigned main;
#endif /* DOS_NT */
};
/* From sysdep.c or w32.c */
+extern int emacs_get_tty (int, struct emacs_tty *) EXTERNALLY_VISIBLE;
+extern int emacs_set_tty (int, struct emacs_tty *, bool) EXTERNALLY_VISIBLE;
+extern void suppress_echo_on_tty (int);
extern int serial_open (Lisp_Object);
extern void serial_configure (struct Lisp_Process *, Lisp_Object);
+
+#endif /* EMACS_SYSTTY_H */