summaryrefslogtreecommitdiffstats
path: root/omdiscard.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-26 08:42:14 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-26 08:42:14 +0000
commitc75d3b93480469abfd2cb8332bcc0e58c95ef5e3 (patch)
treec2e9041e09276e8960f2cc96b580b5cb78283376 /omdiscard.c
parent229aa9e64424cf05fc2391ad2e7e2baefc37542f (diff)
downloadrsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.tar.gz
rsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.tar.xz
rsyslog-c75d3b93480469abfd2cb8332bcc0e58c95ef5e3.zip
- implemented onSelectReadyWrite() interface
- milestone reached: no more access to f->f_un in syslogd.c
Diffstat (limited to 'omdiscard.c')
-rw-r--r--omdiscard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/omdiscard.c b/omdiscard.c
index 03608bd7..0dbdc6d5 100644
--- a/omdiscard.c
+++ b/omdiscard.c
@@ -1,6 +1,9 @@
/* omdiscard.c
* This is the implementation of the built-in discard output module.
*
+ * NOTE: read comments in module-template.h to understand how this file
+ * works!
+ *
* File begun on 2007-07-24 by RGerhards
*
* Copyright 2007 Rainer Gerhards and Adiscon GmbH.
@@ -92,6 +95,11 @@ CODESTARTparseSelectorAct
ENDparseSelectorAct
+BEGINonSelectReadyWrite
+CODESTARTonSelectReadyWrite
+ENDonSelectReadyWrite
+
+
BEGINgetWriteFDForSelect
CODESTARTgetWriteFDForSelect
ENDgetWriteFDForSelect