]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* add function to replace a sub snippet of a string
[citadel.git] / libcitadel / lib / libcitadel.h
index f841657413e69406a79fea4a2ed5ddb4cbdac877..464edc34bb249e5cde95917542cb762a1ae87dfc 100644 (file)
@@ -306,6 +306,7 @@ int StrBufTCP_read_buffered_line_fast(StrBuf *Line,
                                      const char **Error);
 
 int StrBufSipLine(StrBuf *LineBuf, StrBuf *Buf, const char **Ptr);
+int StrBufReplaceToken(StrBuf *Buf, long where, long HowLong, const char *Repl, long ReplLen);
 int StrBufExtract_token(StrBuf *dest, const StrBuf *Source, int parmnum, char separator);
 int StrBufSub(StrBuf *dest, const StrBuf *Source, unsigned long Offset, size_t nChars);