diff options
| author | Mark Murray <markm@FreeBSD.org> | 2001-12-03 12:41:19 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2001-12-03 12:41:19 +0000 |
| commit | 7a32b4b1c69551901019af2ac29e4d0710068675 (patch) | |
| tree | 7718e4cc170ea4f21159bd4a86899f2c8852b168 /include/arpa/telnet.h | |
| parent | 5eb2b33ad846373b0967bd4b3be2e78dd5aaeee9 (diff) | |
Notes
Diffstat (limited to 'include/arpa/telnet.h')
| -rw-r--r-- | include/arpa/telnet.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/arpa/telnet.h b/include/arpa/telnet.h index af85741e40fa..079119c697e2 100644 --- a/include/arpa/telnet.h +++ b/include/arpa/telnet.h @@ -64,7 +64,7 @@ #define SYNCH 242 /* for telfunc calls */ #ifdef TELCMDS -char *telcmds[] = { +const char *telcmds[] = { "EOF", "SUSP", "ABORT", "EOR", "SE", "NOP", "DMARK", "BRK", "IP", "AO", "AYT", "EC", "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", @@ -126,7 +126,7 @@ extern char *telcmds[]; #define NTELOPTS (1+TELOPT_NEW_ENVIRON) #ifdef TELOPTS -char *telopts[NTELOPTS+1] = { +const char *telopts[NTELOPTS+1] = { "BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD", "NAME", "STATUS", "TIMING MARK", "RCTE", "NAOL", "NAOP", "NAOCRD", "NAOHTS", "NAOHTD", "NAOFFD", "NAOVTS", @@ -226,7 +226,7 @@ char *telopts[NTELOPTS+1] = { 0 #ifdef SLC_NAMES -char *slc_names[] = { +const char *slc_names[] = { SLC_NAMELIST }; #else @@ -287,7 +287,7 @@ extern char *slc_names[]; #define AUTHTYPE_TEST 99 #ifdef AUTH_NAMES -char *authtype_names[] = { +const char *authtype_names[] = { "NULL", "KERBEROS_V4", "KERBEROS_V5", "SPX", "MINK", NULL, "SRA", 0 }; @@ -318,12 +318,12 @@ extern char *authtype_names[]; #define ENCTYPE_CNT 3 #ifdef ENCRYPT_NAMES -char *encrypt_names[] = { +const char *encrypt_names[] = { "IS", "SUPPORT", "REPLY", "START", "END", "REQUEST-START", "REQUEST-END", "ENC-KEYID", "DEC-KEYID", 0 }; -char *enctype_names[] = { +const char *enctype_names[] = { "ANY", "DES_CFB64", "DES_OFB64", 0 }; |
