summaryrefslogtreecommitdiff
path: root/src/flexbuf.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-03-27 21:05:10 +0000
committerMike Buland <eichlan@xagasoft.com>2007-03-27 21:05:10 +0000
commitbebc878b054a06ff8e541db695b1e586fff2b022 (patch)
tree031e2e141fc18450954e0323ea6de60328822575 /src/flexbuf.h
parent57191021fe365eb8d448a9f2a66002a59e2ab065 (diff)
downloadlibbu++-bebc878b054a06ff8e541db695b1e586fff2b022.tar.gz
libbu++-bebc878b054a06ff8e541db695b1e586fff2b022.tar.bz2
libbu++-bebc878b054a06ff8e541db695b1e586fff2b022.tar.xz
libbu++-bebc878b054a06ff8e541db695b1e586fff2b022.zip
Added a new helper to the flexbuf, and likewise to the connection class, since
it uses it heavily.
Diffstat (limited to '')
-rw-r--r--src/flexbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flexbuf.h b/src/flexbuf.h
index a68dcc6..7d7f11a 100644
--- a/src/flexbuf.h
+++ b/src/flexbuf.h
@@ -144,6 +144,8 @@ public:
144 */ 144 */
145 int findChar( char cTarget ); 145 int findChar( char cTarget );
146 146
147 void ensureCapacity( int nAmount );
148
147private: 149private:
148 /** The raw storage location of the FlexBuf. */ 150 /** The raw storage location of the FlexBuf. */
149 char *lpBuf; 151 char *lpBuf;