summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-22 16:03:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-22 16:03:45 +0000
commit6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e (patch)
treeb77862ccfb9c4b8a4987da934ccc3ef290e37afd /syslogd.h
parent70c56633497562c8c594cab8f2aa55dd1d7ca5fa (diff)
downloadrsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.tar.gz
rsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.tar.xz
rsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.zip
moved file write output module to own set of code files
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/syslogd.h b/syslogd.h
index 38127c5f..05df1294 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -56,6 +56,14 @@
* rgerhards, 2005-07-26
*/
#endif
+
+/* Flags to logmsg().
+ */
+#define INTERNAL_MSG 0x001 /* msg generated by logmsgInternal() --> special handling */
+#define SYNC_FILE 0x002 /* do fsync on file after printing */
+#define ADDDATE 0x004 /* add a date to the message */
+#define MARK 0x008 /* this message is a mark */
+
#if defined(__GLIBC__)
#define dprintf mydprintf
#endif /* __GLIBC__ */
@@ -75,6 +83,7 @@ int formatTimestamp3339(struct syslogTime *ts, char* pBuf, size_t iLenBuf);
int formatTimestamp3164(struct syslogTime *ts, char* pBuf, size_t iLenBuf);
void iovCreate(selector_t *f);
char *iovAsString(selector_t *f);
+void untty(void);
extern int glblHadMemShortage; /* indicates if we had memory shortage some time during the run */
extern syslogCODE rs_prioritynames[];