Defines | Variables
arpa_telnet.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CURL_DM   242 /* Data Mark */
#define CURL_DO   253 /* DO use this option! */
#define CURL_DONT   254 /* DON'T use this option! */
#define CURL_GA   249 /* Go Ahead, reverse the line */
#define CURL_IAC   255 /* Interpret As Command */
#define CURL_NEW_ENV_VALUE   1
#define CURL_NEW_ENV_VAR   0
#define CURL_NOP   241 /* No OPeration */
#define CURL_NTELOPTS   40
#define CURL_SB   250 /* SuBnegotiation */
#define CURL_SE   240 /* Sub negotiation End */
#define CURL_TELCMD(x)   telnetcmds[(x)-CURL_TELCMD_MINIMUM]
#define CURL_TELCMD_MAXIMUM   CURL_IAC /* surprise, 255 is the last one! ;-) */
#define CURL_TELCMD_MINIMUM   CURL_xEOF /* the first one */
#define CURL_TELCMD_OK(x)
#define CURL_TELOPT(x)   telnetoptions[x]
#define CURL_TELOPT_BINARY   0 /* binary 8bit data */
#define CURL_TELOPT_ECHO   1 /* just echo! */
#define CURL_TELOPT_EXOPL   255 /* EXtended OPtions List */
#define CURL_TELOPT_MAXIMUM   CURL_TELOPT_NEW_ENVIRON
#define CURL_TELOPT_NAWS   31 /* Negotiate About Window Size */
#define CURL_TELOPT_NEW_ENVIRON   39 /* NEW ENVIRONment variables */
#define CURL_TELOPT_OK(x)   ((x) <= CURL_TELOPT_MAXIMUM)
#define CURL_TELOPT_SGA   3 /* Suppress Go Ahead */
#define CURL_TELOPT_TTYPE   24 /* Terminal TYPE */
#define CURL_TELOPT_XDISPLOC   35 /* X DISPlay LOCation */
#define CURL_TELQUAL_INFO   2
#define CURL_TELQUAL_IS   0
#define CURL_TELQUAL_NAME   3
#define CURL_TELQUAL_SEND   1
#define CURL_WILL   251 /* Our side WILL use this option */
#define CURL_WONT   252 /* Our side WON'T use this option */
#define CURL_xEOF   236 /* End Of File */

Variables

static const char *const telnetcmds []
static const char *const telnetoptions []

Define Documentation

#define CURL_DM   242 /* Data Mark */

Definition at line 70 of file arpa_telnet.h.

#define CURL_DO   253 /* DO use this option! */

Definition at line 75 of file arpa_telnet.h.

#define CURL_DONT   254 /* DON'T use this option! */

Definition at line 76 of file arpa_telnet.h.

#define CURL_GA   249 /* Go Ahead, reverse the line */

Definition at line 71 of file arpa_telnet.h.

#define CURL_IAC   255 /* Interpret As Command */

Definition at line 77 of file arpa_telnet.h.

#define CURL_NEW_ENV_VALUE   1

Definition at line 38 of file arpa_telnet.h.

#define CURL_NEW_ENV_VAR   0

Definition at line 37 of file arpa_telnet.h.

#define CURL_NOP   241 /* No OPeration */

Definition at line 69 of file arpa_telnet.h.

#define CURL_NTELOPTS   40

Definition at line 62 of file arpa_telnet.h.

#define CURL_SB   250 /* SuBnegotiation */

Definition at line 72 of file arpa_telnet.h.

#define CURL_SE   240 /* Sub negotiation End */

Definition at line 68 of file arpa_telnet.h.

#define CURL_TELCMD (   x)    telnetcmds[(x)-CURL_TELCMD_MINIMUM]

Definition at line 100 of file arpa_telnet.h.

#define CURL_TELCMD_MAXIMUM   CURL_IAC /* surprise, 255 is the last one! ;-) */

Definition at line 91 of file arpa_telnet.h.

#define CURL_TELCMD_MINIMUM   CURL_xEOF /* the first one */

Definition at line 90 of file arpa_telnet.h.

#define CURL_TELCMD_OK (   x)
Value:
( ((unsigned int)(x) >= CURL_TELCMD_MINIMUM) && \
                       ((unsigned int)(x) <= CURL_TELCMD_MAXIMUM) )

Definition at line 98 of file arpa_telnet.h.

#define CURL_TELOPT (   x)    telnetoptions[x]

Definition at line 60 of file arpa_telnet.h.

#define CURL_TELOPT_BINARY   0 /* binary 8bit data */

Definition at line 28 of file arpa_telnet.h.

#define CURL_TELOPT_ECHO   1 /* just echo! */

Definition at line 29 of file arpa_telnet.h.

#define CURL_TELOPT_EXOPL   255 /* EXtended OPtions List */

Definition at line 31 of file arpa_telnet.h.

Definition at line 57 of file arpa_telnet.h.

#define CURL_TELOPT_NAWS   31 /* Negotiate About Window Size */

Definition at line 33 of file arpa_telnet.h.

#define CURL_TELOPT_NEW_ENVIRON   39 /* NEW ENVIRONment variables */

Definition at line 36 of file arpa_telnet.h.

#define CURL_TELOPT_OK (   x)    ((x) <= CURL_TELOPT_MAXIMUM)

Definition at line 59 of file arpa_telnet.h.

#define CURL_TELOPT_SGA   3 /* Suppress Go Ahead */

Definition at line 30 of file arpa_telnet.h.

#define CURL_TELOPT_TTYPE   24 /* Terminal TYPE */

Definition at line 32 of file arpa_telnet.h.

#define CURL_TELOPT_XDISPLOC   35 /* X DISPlay LOCation */

Definition at line 34 of file arpa_telnet.h.

#define CURL_TELQUAL_INFO   2

Definition at line 95 of file arpa_telnet.h.

#define CURL_TELQUAL_IS   0

Definition at line 93 of file arpa_telnet.h.

#define CURL_TELQUAL_NAME   3

Definition at line 96 of file arpa_telnet.h.

#define CURL_TELQUAL_SEND   1

Definition at line 94 of file arpa_telnet.h.

#define CURL_WILL   251 /* Our side WILL use this option */

Definition at line 73 of file arpa_telnet.h.

#define CURL_WONT   252 /* Our side WON'T use this option */

Definition at line 74 of file arpa_telnet.h.

#define CURL_xEOF   236 /* End Of File */

Definition at line 67 of file arpa_telnet.h.


Variable Documentation

const char* const telnetcmds[] [static]
Initial value:
{
  "EOF",  "SUSP",  "ABORT", "EOR",  "SE",
  "NOP",  "DMARK", "BRK",   "IP",   "AO",
  "AYT",  "EC",    "EL",    "GA",   "SB",
  "WILL", "WONT",  "DO",    "DONT", "IAC"
}

Definition at line 82 of file arpa_telnet.h.

const char* const telnetoptions[] [static]
Initial value:
{
  "BINARY",      "ECHO",           "RCP",           "SUPPRESS GO AHEAD",
  "NAME",        "STATUS",         "TIMING MARK",   "RCTE",
  "NAOL",        "NAOP",           "NAOCRD",        "NAOHTS",
  "NAOHTD",      "NAOFFD",         "NAOVTS",        "NAOVTD",
  "NAOLFD",      "EXTEND ASCII",   "LOGOUT",        "BYTE MACRO",
  "DE TERMINAL", "SUPDUP",         "SUPDUP OUTPUT", "SEND LOCATION",
  "TERM TYPE",   "END OF RECORD",  "TACACS UID",    "OUTPUT MARKING",
  "TTYLOC",      "3270 REGIME",    "X3 PAD",        "NAWS",
  "TERM SPEED",  "LFLOW",          "LINEMODE",      "XDISPLOC",
  "OLD-ENVIRON", "AUTHENTICATION", "ENCRYPT",       "NEW-ENVIRON"
}

Definition at line 43 of file arpa_telnet.h.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:07