ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ttelhndl.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "tparser.h"
00004 #include "tnetwork.h"
00005 
00006 DWORD WINAPI telProcessNetwork(LPVOID lpParameter);
00007 
00008 class TTelnetHandler {
00009 private:
00010     int iTermSet;
00011     int bInBinaryRx, bInBinaryTx;
00012     int bInEchoTx, bInEchoRx;
00013     int iWillSGA;
00014 
00015     void init();
00016 
00017     int escapeIAC(char *buf, int length);
00018 
00019     // Paul Brannan 5/15/98
00020     void SendIAC(char c);
00021     void SendIAC(char c1, char c2);
00022     void SendIACParams(char c);
00023     void SendIACParams(char c1, char c2);
00024     void print_telopt(const char *s, int d);
00025 
00026     TNetwork &Network;
00027     TConsole &Console;
00028     TParser &Parser;
00029 
00030     char* ParseBuffer(char* pszBuffer, char* pszBufferEnd);
00031     char* ParseIAC(char* pszBuffer, char* pszBufferEnd);
00032 
00033     // Paul Brannan 9/13/98
00034     char *szBuffer, *tmpBuffer;
00035     char *ansiBufferStart, *ansiBufferEnd;
00036     int dwBuffer;
00037 
00038     void do_naws(int width, int height);
00039 
00040 public:
00041     TTelnetHandler(TNetwork &RefNetwork, TConsole &RefConsole,
00042         TParser &RefParser);
00043     ~TTelnetHandler();
00044 
00045     DWORD Go(LPVOID pvParams);
00046 
00047     int get_term() {return iTermSet;}
00048 };

Generated on Sun May 27 2012 04:17:18 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.