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/flexbuf.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/flexbuf.h')
| -rw-r--r-- | src/flexbuf.h | 2 |
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 | |||
| 147 | private: | 149 | private: |
| 148 | /** The raw storage location of the FlexBuf. */ | 150 | /** The raw storage location of the FlexBuf. */ |
| 149 | char *lpBuf; | 151 | char *lpBuf; |
