diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-25 10:47:22 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-25 10:47:22 +0200 |
commit | eb1615068c6a704287eda732d287280df4cc4c44 (patch) | |
tree | bf5d8b9cfcdf4203839faf03535149e6ad66f8fc /dirty.h | |
parent | 7adb9877f0c08f929d89f436103dfade03e8ea07 (diff) | |
download | rsyslog-eb1615068c6a704287eda732d287280df4cc4c44.tar.gz rsyslog-eb1615068c6a704287eda732d287280df4cc4c44.tar.xz rsyslog-eb1615068c6a704287eda732d287280df4cc4c44.zip |
added new testing module imdiag
which enables to talk to the rsyslog core at runtime. The current
implementation is only a beginning, but can be expanded over time
Diffstat (limited to 'dirty.h')
-rw-r--r-- | dirty.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -32,6 +32,7 @@ rsRetVal logmsgInternal(int iErr, int pri, uchar *msg, int flags); rsRetVal parseAndSubmitMessage(uchar *hname, uchar *hnameIP, uchar *msg, int len, int flags, flowControl_t flowCtlTypeu, uchar *pszInputName, struct syslogTime *stTime, time_t ttGenTime); int parseRFCSyslogMsg(msg_t *pMsg, int flags); int parseLegacySyslogMsg(msg_t *pMsg, int flags); +rsRetVal diagGetMainMsgQSize(int *piSize); /* for imdiag */ /* TODO: the following 2 need to go in conf obj interface... */ rsRetVal cflineParseTemplateName(uchar** pp, omodStringRequest_t *pOMSR, int iEntry, int iTplOpts, uchar *dfltTplName); |