summaryrefslogtreecommitdiff
path: root/simple.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-11-19 20:44:40 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-11-19 20:44:40 +0000
commit7c32afc0c2a23e39ea7fe3dce9c718c77f758bb7 (patch)
treee6892323cff57a9ed487d204231a5ccec3a3eac5 /simple.h
parent6ea2796d91ca021f7e8846a1dda8e83edf4b4420 (diff)
downloadcryptopp-7c32afc0c2a23e39ea7fe3dce9c718c77f758bb7.tar.gz
fixed to compile with Intel compiler
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@17 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 a9d4f42..f57d1f8 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);}