summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-04-13 11:07:13 +0000
committerMark Murray <markm@FreeBSD.org>2002-04-13 11:07:13 +0000
commit9b6c51e9ff5ee058e83ce66e67b66f366b22f5a1 (patch)
tree19c739879f00721685ec0402accc826d4b6d52dc /include
parent5130ec56333fbd4e34169c231a46d6a0f18a9a97 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/arpa/telnet.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/arpa/telnet.h b/include/arpa/telnet.h
index bae8d8c3305b..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
@@ -281,13 +281,14 @@ extern char *slc_names[];
#define AUTHTYPE_KERBEROS_V5 2
#define AUTHTYPE_SPX 3
#define AUTHTYPE_MINK 4
-#define AUTHTYPE_CNT 5
+#define AUTHTYPE_SRA 6
+#define AUTHTYPE_CNT 7
#define AUTHTYPE_TEST 99
#ifdef AUTH_NAMES
-char *authtype_names[] = {
- "NULL", "KERBEROS_V4", "KERBEROS_V5", "SPX", "MINK",
+const char *authtype_names[] = {
+ "NULL", "KERBEROS_V4", "KERBEROS_V5", "SPX", "MINK", NULL, "SRA",
0
};
#else
@@ -317,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
};