diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-03-27 21:05:10 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-03-27 21:05:10 +0000 |
commit | bebc878b054a06ff8e541db695b1e586fff2b022 (patch) | |
tree | 031e2e141fc18450954e0323ea6de60328822575 /src/connection.h | |
parent | 57191021fe365eb8d448a9f2a66002a59e2ab065 (diff) | |
download | libbu++-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 'src/connection.h')
-rw-r--r-- | src/connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
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: | |||
51 | */ | 51 | */ |
52 | bool open( const char *sAddr, int nPort ); | 52 | bool open( const char *sAddr, int nPort ); |
53 | 53 | ||
54 | void ensureCapacity( int nSize ); | ||
55 | |||
54 | /** Append the given data to the output. The data is presumed to be null | 56 | /** Append the given data to the output. The data is presumed to be null |
55 | * terminated. To put binary data into the stream, use the other | 57 | * terminated. To put binary data into the stream, use the other |
56 | * appendOutput function. This should be the only method used to | 58 | * appendOutput function. This should be the only method used to |