summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-21 07:00:29 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-21 07:00:29 +0000
commit013073f1a6f1ed2230feaba0865d0c14212577d0 (patch)
tree5dd528a004f730658f16a012c66726417ff750d3 /template.c
parent44bb5af7ccef417a1d088527fc02af5f0e8d3dc5 (diff)
downloadrsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.tar.gz
rsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.tar.bz2
rsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.zip
changed rsCStrObj name to cstr_t, which is more inline with the rest of
rsyslog (now) and also much easier to type
Diffstat (limited to 'template.c')
-rw-r--r--template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/template.c b/template.c
index 36cc30a3..c28dc53e 100644
--- a/template.c
+++ b/template.c
@@ -64,7 +64,7 @@ rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz)
{
DEFiRet;
struct templateEntry *pTpe;
- rsCStrObj *pCStr;
+ cstr_t *pCStr;
unsigned short bMustBeFreed;
uchar *pVal;
size_t iLenVal;
@@ -184,7 +184,7 @@ void doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int es
{
uchar *p;
int iLen;
- rsCStrObj *pStrB;
+ cstr_t *pStrB;
uchar *pszGenerated;
assert(pp != NULL);
@@ -310,7 +310,7 @@ struct template* tplConstruct(void)
static int do_Constant(unsigned char **pp, struct template *pTpl)
{
register unsigned char *p;
- rsCStrObj *pStrB;
+ cstr_t *pStrB;
struct templateEntry *pTpe;
int i;
@@ -473,7 +473,7 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe)
static int do_Parameter(unsigned char **pp, struct template *pTpl)
{
unsigned char *p;
- rsCStrObj *pStrB;
+ cstr_t *pStrB;
struct templateEntry *pTpe;
int iNum; /* to compute numbers */