19 Commits

Author SHA1 Message Date
Rainer Gerhards
6e2c505768 - changed doAction() interface to contain the full message string
- f_iov and its handling has been removed
2007-07-26 12:47:09 +00:00
Rainer Gerhards
54669873b0 - 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
2007-07-26 12:07:23 +00:00
Rainer Gerhards
1904ce3f5a - removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.c
- removed f_type from syslogd.c/cflineParseFileName()
- fixed bug in omfile.c which could lead to invalid addressing if "-" was
    given to not sync file
- removed f_type from omfile.c
2007-07-26 10:50:06 +00:00
Rainer Gerhards
334a663dd1 - removed references to f_un from omfile.c
- milestone reached: f->f_un has gone away!
2007-07-26 10:26:58 +00:00
Rainer Gerhards
1b1229cd1e - changed doAction() interface to include module data pointer
- removed references to f_un from omusrmsg.c
- changed module template for parseSelectorAct() [code reduction,
    consitency]
2007-07-26 09:31:50 +00:00
Rainer Gerhards
c75d3b9348 - implemented onSelectReadyWrite() interface
- milestone reached: no more access to f->f_un in syslogd.c
2007-07-26 08:42:14 +00:00
Rainer Gerhards
d0a93ad442 introduced getWriteFDForSelect() module API 2007-07-25 16:50:12 +00:00
Rainer Gerhards
187ab7e123 moved some references to module data from syslogd.c to modules 2007-07-25 16:25:35 +00:00
Rainer Gerhards
36f1b6d7f9 added new function dbgPrintInstInfo() to omod interface 2007-07-25 10:52:47 +00:00
Rainer Gerhards
4c69b80ca0 changed output modules to use a template-based code generation system for
standard entry points (implemented via preprocessor)
2007-07-25 10:25:38 +00:00
Rainer Gerhards
6c12035a99 added freeInstance() call to output module interface; re-structured
ressource release code in syslogd.c
2007-07-24 15:23:26 +00:00
Rainer Gerhards
6d231d5f15 removed F_UNUSED and cleaned up action-disabling handling 2007-07-24 14:53:23 +00:00
Rainer Gerhards
5cbb54ed6a major task: made sure no selector_t is created for selector lines that can
not be successfully loaded. That forced me to change a lot of code,
    with potential for trouble.
2007-07-24 11:33:39 +00:00
Rainer Gerhards
f97c90d12b moved discard functionality to an output module 2007-07-24 09:45:19 +00:00
Rainer Gerhards
f48f11f50e changed action calling sequence to module interface/structure 2007-07-24 08:27:21 +00:00
Rainer Gerhards
cb2fc5f2d6 fixed wrong credits - last patch was by mildew -- sorry for that ;) 2007-07-24 07:35:13 +00:00
Rainer Gerhards
9ee5888309 continued working on modularization; begun to create interface for
configuring actions selector lines; begun basic functionality for
    module initialization and loading built-in modules.
2007-07-23 17:24:41 +00:00
Rainer Gerhards
8425445c2d simplified action calling using new interface Warning: this version has a
structure alignment issue in omusrmsg.c, I currently do not know why. I
    check in so that others can look at it.
2007-07-23 06:21:16 +00:00
Rainer Gerhards
6b24fa20d4 moved file write output module to own set of code files 2007-07-22 16:03:45 +00:00