mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
server: Made stdio connection accept different types of streams
This commit is contained in:
@@ -45,16 +45,8 @@ public:
|
||||
bool OnServeStart(std::string* pString) override;
|
||||
|
||||
private:
|
||||
typedef union
|
||||
{
|
||||
uv_tty_t* tty;
|
||||
uv_pipe_t* pipe;
|
||||
} InOutUnion;
|
||||
|
||||
bool usesTty = false;
|
||||
|
||||
InOutUnion Input;
|
||||
InOutUnion Output;
|
||||
void SetupStream(uv_stream_t*& stream, int file_id);
|
||||
void ShutdownStream(uv_stream_t*& stream);
|
||||
};
|
||||
|
||||
/***
|
||||
|
||||
Reference in New Issue
Block a user