ReactOS  0.4.12-dev-18-gf469aca
ttelhndl.h
Go to the documentation of this file.
1 #pragma once
2 
3 //#include "tparser.h"
4 //#include "tnetwork.h"
5 
7 
9 private:
10  int iTermSet;
13  int iWillSGA;
14 
15  void init();
16 
17  int escapeIAC(char *buf, int length);
18 
19  // Paul Brannan 5/15/98
20  void SendIAC(char c);
21  void SendIAC(char c1, char c2);
22  void SendIACParams(char c);
23  void SendIACParams(char c1, char c2);
24  void print_telopt(const char *s, int d);
25 
29 
30  char* ParseBuffer(char* pszBuffer, char* pszBufferEnd);
31  char* ParseIAC(char* pszBuffer, char* pszBufferEnd);
32 
33  // Paul Brannan 9/13/98
36  int dwBuffer;
37 
38  void do_naws(int width, int height);
39 
40 public:
41  TTelnetHandler(TNetwork &RefNetwork, TConsole &RefConsole,
42  TParser &RefParser);
44 
45  DWORD Go(LPVOID pvParams);
46 
47  int get_term() {return iTermSet;}
48 };
DWORD Go(LPVOID pvParams)
Definition: ttelhndl.cpp:485
GLint GLint GLsizei width
Definition: gl.h:1546
TConsole & Console
Definition: ttelhndl.h:27
void SendIAC(char c)
Definition: ttelhndl.cpp:116
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
int bInBinaryTx
Definition: ttelhndl.h:11
char * ansiBufferStart
Definition: ttelhndl.h:35
TParser & Parser
Definition: ttelhndl.h:28
int escapeIAC(char *buf, int length)
Definition: ttelhndl.cpp:99
void SendIACParams(char c)
Definition: ttelhndl.cpp:126
TNetwork & Network
Definition: ttelhndl.h:26
TTelnetHandler(TNetwork &RefNetwork, TConsole &RefConsole, TParser &RefParser)
Definition: ttelhndl.cpp:75
int bInBinaryRx
Definition: ttelhndl.h:11
char * ParseBuffer(char *pszBuffer, char *pszBufferEnd)
Definition: ttelhndl.cpp:430
char * ParseIAC(char *pszBuffer, char *pszBufferEnd)
Definition: ttelhndl.cpp:182
#define d
Definition: ke_i.h:81
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
const GLubyte * c
Definition: glext.h:8905
unsigned long DWORD
Definition: ntddk_ex.h:95
LPVOID lpParameter
Definition: kernel32.h:232
GLdouble s
Definition: gl.h:2039
#define WINAPI
Definition: msvc.h:20
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
char * tmpBuffer
Definition: ttelhndl.h:34
char * szBuffer
Definition: ttelhndl.h:34
char * ansiBufferEnd
Definition: ttelhndl.h:35
void do_naws(int width, int height)
void print_telopt(const char *s, int d)
DWORD WINAPI telProcessNetwork(LPVOID lpParameter)
Definition: ttelhndl.cpp:479
int get_term()
Definition: ttelhndl.h:47