X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=pipe.h;fp=pipe.h;h=e90a4dbce6709fb697b2f30f11e800d8180352f7;hb=8c1404cd360afdaba0b47685c1d482ba3356dbb1;hp=eecfb1ccd7e87850e04d3977babdac4672bf2746;hpb=5cd5185613348b13625e257efcd7b2f11ca85276;p=polyglot.git diff --git a/pipe.h b/pipe.h index eecfb1c..e90a4db 100644 --- a/pipe.h +++ b/pipe.h @@ -28,6 +28,7 @@ struct PipeStruct { CRITICAL_SECTION CriticalSection; volatile DWORD state; + volatile char * lpFeedEnd; volatile int nReadEnd; char lpBuffer[LINE_INPUT_MAX_CHAR]; char lpReadBuffer[LINE_INPUT_MAX_CHAR]; @@ -40,8 +41,7 @@ struct PipeStruct { bool Active(void); void set_Active(void); void ReadInput(void); - int ReadLine(void); - bool CheckInput(void); + int ReadData(void); bool GetBuffer(char *szLineStr); void LineInput(char *szLineStr); void LineOutput(const char *szLineStr) const;