From c75d3b93480469abfd2cb8332bcc0e58c95ef5e3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 26 Jul 2007 08:42:14 +0000 Subject: - implemented onSelectReadyWrite() interface - milestone reached: no more access to f->f_un in syslogd.c --- omdiscard.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'omdiscard.c') 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 -- cgit