reactos/rosapps/net/telnet/src/tparams.h
Steven Edwards c98929fa7e New Telnet Client
svn path=/trunk/; revision=2458
2001-12-30 10:05:48 +00:00

24 lines
588 B
C++

#ifndef __THREADPARAMS
#define __THREADPARAMS
#include "ttelhndl.h"
typedef struct {
HANDLE hExit;
HANDLE hPause, hUnPause;
volatile int *bNetPaused;
volatile int *bNetFinished;
volatile int *bNetFinish;
} NetParams;
// We could make TelHandler a pointer rather than a reference, but making it
// a reference forces us to initialize it when it is created, thus avoiding
// a possible segfault (Paul Brannan 6/15/98)
class TelThreadParams {
public:
TelThreadParams(TTelnetHandler &RefTelHandler): TelHandler(RefTelHandler) {}
NetParams p;
TTelnetHandler &TelHandler;
};
#endif