diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-25 15:23:57 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-25 15:23:57 +0000 |
commit | 50ddd3fd7de672a2fa2df67adb27401cc38ce38c (patch) | |
tree | e509dc31fce2c6edb230147ee547b3967bc636c2 /stringbuf.c | |
parent | c9fc3fc06d2566aa6aed977af66392dce97d1264 (diff) | |
download | rsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.tar.gz rsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.tar.xz rsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.zip |
added string concatenation operator & to RainerScript
Diffstat (limited to 'stringbuf.c')
-rwxr-xr-x | stringbuf.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; |