Skip to content
Snippets Groups Projects
Commit 2767afd0 authored by rswindell's avatar rswindell
Browse files

Added comments to reference numeric values of options.

parent d28a8497
No related branches found
No related tags found
No related merge requests found
...@@ -79,17 +79,17 @@ char* telnet_option_descriptions[]={ ...@@ -79,17 +79,17 @@ char* telnet_option_descriptions[]={
,"Remote Controlled Trans and Echo" ,"Remote Controlled Trans and Echo"
,"Output Line Width" ,"Output Line Width"
,"Output Page Size" ,"Output Page Size"
,"Output Carriage-Return Disposition" ,"Output Carriage-Return Disposition" /* 10 */
,"Output Horizontal Tab Stops" ,"Output Horizontal Tab Stops"
,"Output Horizontal Tab Disposition" ,"Output Horizontal Tab Disposition"
,"Output Formfeed Disposition" ,"Output Formfeed Disposition"
,"Output Vertical Tabstops" ,"Output Vertical Tab Stops"
,"Output Vertical Tab Disposition" ,"Output Vertical Tab Disposition"
,"Output Linefeed Disposition" ,"Output Linefeed Disposition"
,"Extended ASCII" ,"Extended ASCII"
,"Logout" ,"Logout"
,"Byte Macro" ,"Byte Macro"
,"Data Entry Terminal" ,"Data Entry Terminal" /* 20 */
,"SUPDUP" ,"SUPDUP"
,"SUPDUP Output" ,"SUPDUP Output"
,"Send Location" ,"Send Location"
...@@ -98,8 +98,8 @@ char* telnet_option_descriptions[]={ ...@@ -98,8 +98,8 @@ char* telnet_option_descriptions[]={
,"TACACS User Identification" ,"TACACS User Identification"
,"Output Marking" ,"Output Marking"
,"Terminal Location Number" ,"Terminal Location Number"
,"Telnet 3270 Regime" ,"Telnet 3270 Regime"
,"X.3 PAD" ,"X.3 PAD" /* 30 */
,"Negotiate About Window Size" ,"Negotiate About Window Size"
,"Terminal Speed" ,"Terminal Speed"
,"Remote Flow Control" ,"Remote Flow Control"
...@@ -108,8 +108,8 @@ char* telnet_option_descriptions[]={ ...@@ -108,8 +108,8 @@ char* telnet_option_descriptions[]={
,"Environment Option" ,"Environment Option"
,"Authentication Option" ,"Authentication Option"
,"Encryption Option" ,"Encryption Option"
,"New Environment Option" ,"New Environment Option"
,"TN3270E" ,"TN3270E" /* 40 */
}; };
const char* DLLCALL telnet_opt_desc(uchar opt) const char* DLLCALL telnet_opt_desc(uchar opt)
......
...@@ -72,7 +72,7 @@ enum { ...@@ -72,7 +72,7 @@ enum {
,TELNET_REMOTE_CTRL ,TELNET_REMOTE_CTRL
,TELNET_OUTPUT_LINE_WIDTH ,TELNET_OUTPUT_LINE_WIDTH
,TELNET_OUTPUT_PAGE_SIZE ,TELNET_OUTPUT_PAGE_SIZE
,TELNET_OUTPUT_CR_DISP ,TELNET_OUTPUT_CR_DISP /* 10 */
,TELNET_OUTPUT_HTAB_STOPS ,TELNET_OUTPUT_HTAB_STOPS
,TELNET_OUTPUT_HTAB_DISP ,TELNET_OUTPUT_HTAB_DISP
,TELNET_OUTPUT_FF_DISP ,TELNET_OUTPUT_FF_DISP
...@@ -82,7 +82,7 @@ enum { ...@@ -82,7 +82,7 @@ enum {
,TELNET_EXASCII ,TELNET_EXASCII
,TELNET_LOGOUT ,TELNET_LOGOUT
,TELNET_BYTE_MACRO ,TELNET_BYTE_MACRO
,TELNET_DATA_ENTRY_TERM ,TELNET_DATA_ENTRY_TERM /* 20 */
,TELNET_SUPDUP ,TELNET_SUPDUP
,TELNET_SUPDUP_OUTPUT ,TELNET_SUPDUP_OUTPUT
,TELNET_SEND_LOCATION ,TELNET_SEND_LOCATION
...@@ -92,7 +92,7 @@ enum { ...@@ -92,7 +92,7 @@ enum {
,TELNET_OUTPUT_MARKING ,TELNET_OUTPUT_MARKING
,TELNET_TERM_LOCATION_NUMBER ,TELNET_TERM_LOCATION_NUMBER
,TELNET_3270 ,TELNET_3270
,TELNET_X3_PAD ,TELNET_X3_PAD /* 30 */
,TELNET_NEGOTIATE_WINDOW_SIZE ,TELNET_NEGOTIATE_WINDOW_SIZE
,TELNET_TERM_SPEED ,TELNET_TERM_SPEED
,TELNET_REMOTE_FLOW ,TELNET_REMOTE_FLOW
...@@ -101,8 +101,8 @@ enum { ...@@ -101,8 +101,8 @@ enum {
,TELNET_ENV_OPTION ,TELNET_ENV_OPTION
,TELNET_AUTH_OPTION ,TELNET_AUTH_OPTION
,TELNET_ENCRYPTION_OPTION ,TELNET_ENCRYPTION_OPTION
,TELNET_NEW_ENV_OPTION ,TELNET_NEW_ENV_OPTION
,TELNET_3270E ,TELNET_3270E /* 40 */
,TELNET_EXOPL=255 /* Extended options list */ ,TELNET_EXOPL=255 /* Extended options list */
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment