diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
commit | 54669873b0469aa69a4c9f88bcf88470218082f8 (patch) | |
tree | 1042b7096d3332dc92abbb8c4ee9fdc0af1f7e55 /modules.h | |
parent | 1904ce3f5aa11f190c881ccda650c1f464fe9271 (diff) | |
download | rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.gz rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.xz rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.zip |
- implemented needUDPSocket() interface
- replaced (mis) use of f_prevcount in omfwd.c -> now data element in
instance data is used for retry counting
- removed f->f_type from syslogd.c, omfwd.c
- removed f->f_file from omfwd.c, omfile.c
- f->f_flags is gone away
Diffstat (limited to 'modules.h')
-rw-r--r-- | modules.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -57,6 +57,7 @@ typedef struct moduleInfo { rsRetVal (*freeInstance)(struct filed*, void*);/* called before termination or module unload */ rsRetVal (*getWriteFDForSelect)(struct filed*, void*,short *);/* called before termination or module unload */ rsRetVal (*onSelectReadyWrite)(struct filed*, void*);/* called when fd is writeable after select() */ + rsRetVal (*needUDPSocket)(void*);/* called when fd is writeable after select() */ rsRetVal (*dbgPrintInstInfo)(struct filed*, void*);/* called before termination or module unload */ rsRetVal (*modExit)(); /* called before termination or module unload */ /* below: parse a configuration line - return if processed |