summaryrefslogtreecommitdiff
path: root/simple.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2002-11-19 20:44:40 +0000
committerweidai <weidai11@users.noreply.github.com>2002-11-19 20:44:40 +0000
commit39fd2045e91e69be16d1dac2dd6f11022c9b1770 (patch)
treee6892323cff57a9ed487d204231a5ccec3a3eac5 /simple.h
parent4cbd2ef39ebdea0b7f8282b70fada025486e7cd2 (diff)
downloadcryptopp-git-39fd2045e91e69be16d1dac2dd6f11022c9b1770.tar.gz
fixed to compile with Intel compiler
Diffstat (limited to 'simple.h')
-rw-r--r--simple.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/simple.h b/simple.h
index a9d4f422..f57d1f80 100644
--- a/simple.h
+++ b/simple.h
@@ -134,14 +134,14 @@ public:
{ChannelInitialize(NULL_CHANNEL, parameters, propagation);}
bool Flush(bool hardFlush, int propagation=-1, bool blocking=true)
{return ChannelFlush(NULL_CHANNEL, hardFlush, propagation, blocking);}
- void MessageSeriesEnd(int propagation)
- {ChannelMessageSeriesEnd(NULL_CHANNEL, propagation);}
+ bool MessageSeriesEnd(int propagation=-1, bool blocking=true)
+ {return ChannelMessageSeriesEnd(NULL_CHANNEL, propagation, blocking);}
byte * CreatePutSpace(unsigned int &size)
{return ChannelCreatePutSpace(NULL_CHANNEL, size);}
unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking)
{return ChannelPut2(NULL_CHANNEL, begin, length, messageEnd, blocking);}
- unsigned int PutModifiable2(byte *begin, byte *end, int messageEnd, bool blocking)
- {return ChannelPutModifiable2(NULL_CHANNEL, begin, end, messageEnd, blocking);}
+ unsigned int PutModifiable2(byte *inString, unsigned int length, int messageEnd, bool blocking)
+ {return ChannelPutModifiable2(NULL_CHANNEL, inString, length, messageEnd, blocking);}
// void ChannelMessageSeriesEnd(const std::string &channel, int propagation=-1)
// {PropagateMessageSeriesEnd(propagation, channel);}