[NTDLL]
[reactos.git] / base / applications / network / telnet / src / tparams.h
1 #pragma once
2
3 #include "ttelhndl.h"
4
5 typedef struct {
6 HANDLE hExit;
7 HANDLE hPause, hUnPause;
8 volatile int *bNetPaused;
9 volatile int *bNetFinished;
10 volatile int *bNetFinish;
11 } NetParams;
12
13 // We could make TelHandler a pointer rather than a reference, but making it
14 // a reference forces us to initialize it when it is created, thus avoiding
15 // a possible segfault (Paul Brannan 6/15/98)
16 class TelThreadParams {
17 public:
18 TelThreadParams(TTelnetHandler &RefTelHandler): TelHandler(RefTelHandler) {}
19 NetParams p;
20 TTelnetHandler &TelHandler;
21 };