]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* add function to shrink empty StrBufs so they don't permanently alloc unneeded sizes.
[citadel.git] / libcitadel / lib / libcitadel.h
index 4c378b9fa61668de8230ce8772be0b972dca95d1..132c49f091c0ac1bf00ad4ede23dcf327fd6b3e5 100644 (file)
@@ -223,6 +223,7 @@ StrBuf* NewStrBuf(void);
 StrBuf* NewStrBufDup(const StrBuf *CopyMe);
 StrBuf* NewStrBufPlain(const char* ptr, int nChars);
 long StrBufShrinkToFit(StrBuf *Buf, int Force);
+void ReAdjustEmptyBuf(StrBuf *Buf, long ThreshHold, long NewSize);
 
 int StrBufPlain(StrBuf *Buf, const char* ptr, int nChars);
 StrBuf* _NewConstStrBuf(const char* StringConstant, size_t SizeOfStrConstant);