diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-05-29 18:06:29 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-05-29 18:06:29 +0000 |
commit | 07647fb5b545d3dcc7c1bc1436f1f1e8c6237937 (patch) | |
tree | 7d038f66ac8a2410a61961e69b7ca395263a64c8 /loader2/telnet.h | |
parent | b31b75aae2cbd298b94f8188ec6369e507fc3a7a (diff) | |
download | anaconda-07647fb5b545d3dcc7c1bc1436f1f1e8c6237937.tar.gz anaconda-07647fb5b545d3dcc7c1bc1436f1f1e8c6237937.tar.xz anaconda-07647fb5b545d3dcc7c1bc1436f1f1e8c6237937.zip |
Get ready for a surprise... no more telnet support! SSH is it. It's 2007, update your client systems. Besides, telnet was b0rk3n in RHEL5 and only one person complained. Time to advance loader to a telnet-free world. Also, this only affects mainframes.
Diffstat (limited to 'loader2/telnet.h')
-rw-r--r-- | loader2/telnet.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/loader2/telnet.h b/loader2/telnet.h deleted file mode 100644 index 58ea5ba0a..000000000 --- a/loader2/telnet.h +++ /dev/null @@ -1,40 +0,0 @@ -/* telnet.h -- basic telnet protocol handling for ttywatch - * - * Copyright © 2001 Michael K. Johnson <johnsonm@redhat.com> - * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - - -#ifndef __TELNET_H__ -#define __TELNET_H__ - -typedef enum { - TS_DATA = 0, - TS_IAC, - TS_SB, - TS_SB_IAC, -} telnet_state; - -void -telnet_negotiate(int socket, char ** term_type_ptr, int * heightPtr, - int * widthPtr); -int -telnet_process_input(telnet_state * ts, char *data, int len); -void -telnet_send_output(int sock, char *data, int len); - -#endif /* __TELNET_H__ */ |