From bebc878b054a06ff8e541db695b1e586fff2b022 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 27 Mar 2007 21:05:10 +0000 Subject: Added a new helper to the flexbuf, and likewise to the connection class, since it uses it heavily. --- src/connection.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/connection.h') diff --git a/src/connection.h b/src/connection.h index 5d2d9bd..7e1141d 100644 --- a/src/connection.h +++ b/src/connection.h @@ -51,6 +51,8 @@ public: */ bool open( const char *sAddr, int nPort ); + void ensureCapacity( int nSize ); + /** Append the given data to the output. The data is presumed to be null * terminated. To put binary data into the stream, use the other * appendOutput function. This should be the only method used to -- cgit v1.2.3