From f951b58c2afc6ae864c0d36ab6e1d6a0b9ef4dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 24 Apr 1998 00:33:51 +0200 Subject: [PATCH] Minor change. Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.4 --- lib/modules/Protocols.pmod/TELNET.pmod | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/modules/Protocols.pmod/TELNET.pmod b/lib/modules/Protocols.pmod/TELNET.pmod index 54f6b9908b..e04e71234c 100644 --- a/lib/modules/Protocols.pmod/TELNET.pmod +++ b/lib/modules/Protocols.pmod/TELNET.pmod @@ -1,5 +1,5 @@ // -// $Id: TELNET.pmod,v 1.3 1998/04/23 21:24:50 grubba Exp $ +// $Id: TELNET.pmod,v 1.4 1998/04/23 22:33:51 grubba Exp $ // // The TELNET protocol as described by RFC 764 and others. // @@ -75,17 +75,18 @@ class protocol ]); //. + option_states - //. Negotiation state of all WILL/WON'T options. + //. Negotiation states of all WILL/WON'T options. + //. See RFC 1143 for a description of the states. static private array(int) option_states = allocate(256); // See RFC 1143 for the use and meaning of these. - constant option_us_yes = 0x0001; - constant option_us_want = 0x0002; - constant option_us_opposite = 0x0010; + static private constant option_us_yes = 0x0001; + static private constant option_us_want = 0x0002; + static private constant option_us_opposite = 0x0010; - constant option_him_yes = 0x0100; - constant option_him_want = 0x0200; - constant option_him_opposite = 0x1000; + static private constant option_him_yes = 0x0100; + static private constant option_him_want = 0x0200; + static private constant option_him_opposite = 0x1000; //. + to_send //. Data queued to be sent. -- GitLab