summaryrefslogtreecommitdiffstats
path: root/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
commit3a209d530568ddfb448d3b55e506022245e394b4 (patch)
tree9a9e00ae93679d57223a54554e337aefb6f6cd2e /modules.h
parent6c0c26dc96544aa5814d00045b3d559c99fc1b2e (diff)
downloadrsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.gz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.xz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.zip
added thread activation
Diffstat (limited to 'modules.h')
-rw-r--r--modules.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules.h b/modules.h
index 914a65fd..9a1a4d41 100644
--- a/modules.h
+++ b/modules.h
@@ -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