mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-05 19:36:16 +08:00
moved stream into synergy namespace (to prevent naming collision in win libs)
implemented ipc "hello" message (to identify client type) integ tests working for hello message, but use of ipc in main program has problem with events.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//
|
||||
|
||||
void
|
||||
CProtocolUtil::writef(IStream* stream, const char* fmt, ...)
|
||||
CProtocolUtil::writef(synergy::IStream* stream, const char* fmt, ...)
|
||||
{
|
||||
assert(stream != NULL);
|
||||
assert(fmt != NULL);
|
||||
@@ -43,7 +43,7 @@ CProtocolUtil::writef(IStream* stream, const char* fmt, ...)
|
||||
}
|
||||
|
||||
bool
|
||||
CProtocolUtil::readf(IStream* stream, const char* fmt, ...)
|
||||
CProtocolUtil::readf(synergy::IStream* stream, const char* fmt, ...)
|
||||
{
|
||||
assert(stream != NULL);
|
||||
assert(fmt != NULL);
|
||||
@@ -64,7 +64,7 @@ CProtocolUtil::readf(IStream* stream, const char* fmt, ...)
|
||||
}
|
||||
|
||||
void
|
||||
CProtocolUtil::vwritef(IStream* stream,
|
||||
CProtocolUtil::vwritef(synergy::IStream* stream,
|
||||
const char* fmt, UInt32 size, va_list args)
|
||||
{
|
||||
assert(stream != NULL);
|
||||
@@ -93,7 +93,7 @@ CProtocolUtil::vwritef(IStream* stream,
|
||||
}
|
||||
|
||||
void
|
||||
CProtocolUtil::vreadf(IStream* stream, const char* fmt, va_list args)
|
||||
CProtocolUtil::vreadf(synergy::IStream* stream, const char* fmt, va_list args)
|
||||
{
|
||||
assert(stream != NULL);
|
||||
assert(fmt != NULL);
|
||||
@@ -507,7 +507,7 @@ CProtocolUtil::eatLength(const char** pfmt)
|
||||
}
|
||||
|
||||
void
|
||||
CProtocolUtil::read(IStream* stream, void* vbuffer, UInt32 count)
|
||||
CProtocolUtil::read(synergy::IStream* stream, void* vbuffer, UInt32 count)
|
||||
{
|
||||
assert(stream != NULL);
|
||||
assert(vbuffer != NULL);
|
||||
|
||||
Reference in New Issue
Block a user