summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-20 03:12:54 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-20 03:12:54 +0000
commit32fdd18f7efa899c582f4c6eaa92d304d5fe0fd4 (patch)
tree153a0d9ffdbeff5955688bd6fd08bc91cab539f0 /queue.h
parent91f4f6d49ab4d82046b36776c584545800f4d1f4 (diff)
downloadcryptopp-32fdd18f7efa899c582f4c6eaa92d304d5fe0fd4.tar.gz
auto queue node size
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@84 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.h b/queue.h
index b9641bc..f17efc5 100644
--- a/queue.h
+++ b/queue.h
@@ -16,7 +16,7 @@ class ByteQueueNode;
class ByteQueue : public Bufferless<BufferedTransformation>
{
public:
- ByteQueue(unsigned int m_nodeSize=256);
+ ByteQueue(unsigned int m_nodeSize=0);
ByteQueue(const ByteQueue &copy);
~ByteQueue();
@@ -99,6 +99,7 @@ private:
void CopyFrom(const ByteQueue &copy);
void Destroy();
+ bool m_autoNodeSize;
unsigned int m_nodeSize;
ByteQueueNode *m_head, *m_tail;
byte *m_lazyString;