summaryrefslogtreecommitdiffstats
path: root/runtime/msg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-07-17 09:47:14 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-17 09:47:14 +0200
commitd4ca9a48d6ae23f0036372563f4480baab361858 (patch)
tree6470e3dfeb601304c94de1c6fa363b0e28a901b7 /runtime/msg.h
parent1ea14f211ba0e7351c7da745a5411c7efdeb3cbd (diff)
downloadrsyslog-d4ca9a48d6ae23f0036372563f4480baab361858.tar.gz
rsyslog-d4ca9a48d6ae23f0036372563f4480baab361858.tar.bz2
rsyslog-d4ca9a48d6ae23f0036372563f4480baab361858.zip
refactor in preparation of local variables
local variables require a second json root; this refactoring makes sure we can basically use common functions for json handling
Diffstat (limited to 'runtime/msg.h')
-rw-r--r--runtime/msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.h b/runtime/msg.h
index 6faf066a..efa36d91 100644
--- a/runtime/msg.h
+++ b/runtime/msg.h
@@ -208,7 +208,7 @@ uchar *propIDToName(propid_t propID);
rsRetVal msgGetCEEPropJSON(msg_t *pM, es_str_t *propName, struct json_object **pjson);
rsRetVal msgSetJSONFromVar(msg_t *pMsg, uchar *varname, struct var *var);
rsRetVal msgDelJSON(msg_t *pMsg, uchar *varname);
-rsRetVal jsonFind(msg_t *pM, es_str_t *propName, struct json_object **jsonres);
+rsRetVal jsonFind(struct json_object *jroot, es_str_t *propName, struct json_object **jsonres);
static inline rsRetVal
msgUnsetJSON(msg_t *pMsg, uchar *varname) {