ldtelnet.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*+-------------------------------------------------------------------------
  2. ldtelnet.h
  3. --------------------------------------------------------------------------*/
  4. /*+:EDITS:*/
  5. /*:04-26-2000-11:16-wht@bob-RELEASE 4.42 */
  6. /*:01-24-1997-02:37-wht@yuriatin-SOURCE RELEASE 4.00 */
  7. /*:09-11-1996-20:00-wht@yuriatin-3.48-major telnet,curses,structural overhaul */
  8. /*:11-23-1995-11:20-wht@kepler-source control 3.37 for tsx-11 */
  9. /*:11-14-1995-10:23-wht@kepler-3.37.80-source control point: SOCKETS */
  10. /*:11-10-1995-15:17-wht@kepler-add TELOPTs missed by some old guys */
  11. /*:10-14-1993-16:33-wht@gyro-rename telnet_block_... telnet_rbuf_... */
  12. /*:11-28-1992-03:34-wht@gyro-source control point 1.37 */
  13. /*:11-25-1992-17:20-wht@gyro-add extern __hostnm/portnum */
  14. /*:03-16-1992-23:42-wht@n4hgf2-first cut at porting rterm proc language */
  15. /*:03-07-1992-14:20-wht@n4hgf-creation */
  16. #ifndef _ldtelnet_h
  17. #define _ldtelnet_h
  18. #include <arpa/telnet.h>
  19. #include <arpa/inet.h>
  20. #ifndef TELOPT_TUID
  21. #define TELOPT_TUID 26 /* TACACS user identification */
  22. #endif
  23. #ifndef TELOPT_OUTMRK
  24. #define TELOPT_OUTMRK 27 /* output marking */
  25. #endif
  26. #ifndef TELOPT_TTYLOC
  27. #define TELOPT_TTYLOC 28 /* terminal location number */
  28. #endif
  29. #ifndef TELOPT_3270REGIME
  30. #define TELOPT_3270REGIME 29 /* 3270 regime */
  31. #endif
  32. #ifndef TELOPT_X3PAD
  33. #define TELOPT_X3PAD 30 /* X.3 PAD */
  34. #endif
  35. #ifndef TELOPT_NAWS
  36. #define TELOPT_NAWS 31 /* window size */
  37. #endif
  38. #ifndef TELOPT_TSPEED
  39. #define TELOPT_TSPEED 32 /* terminal speed */
  40. #endif
  41. #ifndef TELOPT_LFLOW
  42. #define TELOPT_LFLOW 33 /* remote flow control */
  43. #endif
  44. #ifndef TELOPT_LINEMODE
  45. #define TELOPT_LINEMODE 34 /* Linemode option */
  46. #endif
  47. #ifndef TELOPT_XDISPLOC
  48. #define TELOPT_XDISPLOC 35 /* X Display Location */
  49. #endif
  50. #ifndef TELOPT_ENVIRON
  51. #define TELOPT_ENVIRON 36 /* Environment variables */
  52. #endif
  53. #ifndef TELOPT_AUTHENTICATION
  54. #define TELOPT_AUTHENTICATION 37/* Authenticate */
  55. #endif
  56. #ifndef TELOPT_ENCRYPT
  57. #define TELOPT_ENCRYPT 38 /* Encryption option */
  58. #endif
  59. extern char *host_name;
  60. extern u_long hostaddr;
  61. char *inet_utoa();
  62. #endif /* _ldtelnet_h */
  63. /* vi: set tabstop=4 shiftwidth=4: */
  64. /* end of ldtelnet.h */