diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-14 17:15:35 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-14 17:15:35 +0000 |
commit | 3a209d530568ddfb448d3b55e506022245e394b4 (patch) | |
tree | 9a9e00ae93679d57223a54554e337aefb6f6cd2e /modules.h | |
parent | 6c0c26dc96544aa5814d00045b3d559c99fc1b2e (diff) | |
download | rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.gz rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.xz rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.zip |
added thread activation
Diffstat (limited to 'modules.h')
-rw-r--r-- | modules.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -73,14 +73,10 @@ typedef struct moduleInfo { * can allocate instance memory in this call. */ rsRetVal (*createInstance)(); - /* input module specific members */ - /* TODO: do a union with members, pass pointer to msg submit function to IM rger, 2007-12-14 */ - rsRetVal (*runInput)(void); /* function to gather input and submit to queue */ + /* TODO: pass pointer to msg submit function to IM rger, 2007-12-14 */ union { struct {/* data for input modules */ - /* input modules come after output modules are finished, I am - * currently not really thinking about them. rgerhards, 2007-07-19 - */ + rsRetVal (*runInput)(void); /* function to gather input and submit to queue */ } im; struct {/* data for output modules */ /* below: perform the configured action |