From 50ddd3fd7de672a2fa2df67adb27401cc38ce38c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 25 Feb 2008 15:23:57 +0000 Subject: added string concatenation operator & to RainerScript --- stringbuf.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'stringbuf.c') diff --git a/stringbuf.c b/stringbuf.c index 80f1bb97..ecd70113 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -236,6 +236,15 @@ rsRetVal rsCStrAppendStr(cstr_t *pThis, uchar* psz) } +/* append the contents of one cstr_t object to another + * rgerhards, 2008-02-25 + */ +rsRetVal rsCStrAppendCStr(cstr_t *pThis, cstr_t *pstrAppend) +{ + return rsCStrAppendStrWithLen(pThis, pstrAppend->pBuf, pstrAppend->iStrLen); +} + + rsRetVal rsCStrAppendInt(cstr_t *pThis, long i) { DEFiRet; -- cgit