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