summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 16:55:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 16:55:40 +0000
commit1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e (patch)
tree249ec71321b657a6a37b91f1d03f4e2c4bf07697 /syslogd.h
parent8193522d85290df659d8c2e505e8c47f39db9267 (diff)
downloadrsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.tar.gz
rsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.tar.xz
rsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.zip
- added omsr object (objomsr.c, objomsr.h) - template request for output
modules - changed doAction() interface - templates and output string generation for doActon() is now fully
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/syslogd.h b/syslogd.h
index afe177fd..b553d5fc 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -21,6 +21,7 @@
#define SYSLOGD_H_INCLUDED 1
#include "syslogd-types.h"
+#include "objomsr.h"
#ifdef USE_NETZIP
#include <zlib.h>
@@ -83,9 +84,8 @@ int formatTimestamp3164(struct syslogTime *ts, char* pBuf, size_t iLenBuf);
void iovCreate(selector_t *f);
char *iovAsString(selector_t *f);
void untty(void);
-rsRetVal cflineSetTemplateAndIOV(selector_t *f, char *pTemplateName);
-rsRetVal cflineParseTemplateName(uchar** pp, register char* pTemplateName, int iLenTemplate);
-rsRetVal cflineParseFileName(selector_t *f, uchar* p, uchar *pFileName);
+rsRetVal cflineParseTemplateName(uchar** pp, omodStringRequest_t *pOMSR, int iEntry, int iTplOpts, uchar *dfltTplName);
+rsRetVal cflineParseFileName(uchar* p, uchar *pFileName, omodStringRequest_t *pOMSR, int iEntry, int iTplOpts);
int getSubString(uchar **ppSrc, char *pDst, size_t DstSize, char cSep);
extern int glblHadMemShortage; /* indicates if we had memory shortage some time during the run */