summaryrefslogtreecommitdiffstats
path: root/plugins/imkmsg/imkmsg.h
diff options
context:
space:
mode:
authorMilan Bartos <mbartos@redhat.com>2012-09-12 09:39:34 +0200
committerMilan Bartos <mbartos@redhat.com>2012-09-24 08:45:33 +0200
commit498b8600707e979f78ee02641d56702784138b70 (patch)
tree980a8eb97473e373c25a40df39d69d8175b55654 /plugins/imkmsg/imkmsg.h
parent91948f610807cb5f42d15af5448126315fd9a0dd (diff)
downloadrsyslog-498b8600707e979f78ee02641d56702784138b70.tar.gz
rsyslog-498b8600707e979f78ee02641d56702784138b70.tar.bz2
rsyslog-498b8600707e979f78ee02641d56702784138b70.zip
Made imkmsg parse the messages instead of creating string to be parsed later.
modified: imkmsg.c modified: imkmsg.h modified: kmsg.c
Diffstat (limited to 'plugins/imkmsg/imkmsg.h')
-rw-r--r--plugins/imkmsg/imkmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imkmsg/imkmsg.h b/plugins/imkmsg/imkmsg.h
index d33186b0..220a1634 100644
--- a/plugins/imkmsg/imkmsg.h
+++ b/plugins/imkmsg/imkmsg.h
@@ -48,7 +48,7 @@ int klogFacilIntMsg();
/* the functions below may be called by the drivers */
rsRetVal imkmsgLogIntMsg(int priority, char *fmt, ...) __attribute__((format(printf,2, 3)));
-rsRetVal Syslog(int priority, uchar *msg, struct timeval *tp);
+rsRetVal Syslog(int priority, uchar *msg, struct timeval *tp, struct json_object *json);
/* prototypes */
extern int klog_getMaxLine(void); /* work-around for klog drivers to get configured max line size */