summaryrefslogtreecommitdiffstats
path: root/omfwd.c
Commit message (Collapse)AuthorAgeFilesLines
* - simplified code in shouldProcessThisMessage() for debug outputRainer Gerhards2007-09-241-3/+6
| | | | - changed strerror() calls to thread-safe strerror_r() variant
* cleaned up compiler warningsRainer Gerhards2007-09-111-0/+5
|
* patches and docu update for 1.19.3v1-19-3Michael Meckelein2007-08-311-2/+2
|
* changed rsyslog.h include order to solve debian sid zlib inlcude issueMichael Meckelein2007-08-081-1/+1
|
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-22/+22
| | | | clib
* applied patch from Michel Samia to fix compilation when the pthreadsRainer Gerhards2007-08-071-0/+2
| | | | feature is disabled
* - added CODE_STD_FINALIZERparseSelectorAct to module-generation macrosRainer Gerhards2007-08-031-0/+1
| | | | | | - restructered rsyslogd startup - moved startWorker() to a more appropriate place - updated ommysql.c to fully support suspension/resumption by rule engine
* cleanup (removed unused code)Rainer Gerhards2007-08-021-14/+0
|
* some cleanupRainer Gerhards2007-08-021-2/+0
|
* got a working version of suspension/resumption logic including omfwd.cRainer Gerhards2007-08-021-76/+59
|
* added resumption logic to rsyslogd (but not yet any module)Rainer Gerhards2007-08-021-0/+1
|
* added tryResume() API to module interfaceRainer Gerhards2007-08-021-0/+21
|
* - changed modInit() interface to contain pointer to host-function queryRainer Gerhards2007-07-311-0/+3
| | | | method
* removed selector_t f references from output modulesRainer Gerhards2007-07-271-5/+12
|
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-271-20/+11
| | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully
* - changed doAction() interface to contain the full message stringRainer Gerhards2007-07-261-3/+3
| | | | - f_iov and its handling has been removed
* - implemented needUDPSocket() interfaceRainer Gerhards2007-07-261-30/+52
| | | | | | | | - 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
* removed references to f_un from omfwd.cRainer Gerhards2007-07-261-80/+99
|
* - changed doAction() interface to include module data pointerRainer Gerhards2007-07-261-6/+2
| | | | | | - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency]
* - shuffled code from tcpsyslog.c to omfwd.c. It looks like it belongs moreRainer Gerhards2007-07-261-0/+370
| | | | | | | to that file. But we need to look at it some time later. The move was absolutely necessary so that no access to f->f_un happened in tcpsyslog.c (which was evil) - milestone reache: no more access to f->f_un from non-output modules
* - implemented onSelectReadyWrite() interfaceRainer Gerhards2007-07-261-0/+22
| | | | - milestone reached: no more access to f->f_un in syslogd.c
* introduced getWriteFDForSelect() module APIRainer Gerhards2007-07-251-0/+11
|
* moved some references to module data from syslogd.c to modulesRainer Gerhards2007-07-251-0/+6
|
* moved code to output moduleRainer Gerhards2007-07-251-0/+14
|
* added new function dbgPrintInstInfo() to omod interfaceRainer Gerhards2007-07-251-0/+6
|
* changed output modules to use a template-based code generation system forRainer Gerhards2007-07-251-99/+57
| | | | standard entry points (implemented via preprocessor)
* added freeInstance() call to output module interface; re-structuredRainer Gerhards2007-07-241-3/+22
| | | | ressource release code in syslogd.c
* removed F_UNUSED and cleaned up action-disabling handlingRainer Gerhards2007-07-241-2/+3
|
* major task: made sure no selector_t is created for selector lines that canRainer Gerhards2007-07-241-8/+5
| | | | | not be successfully loaded. That forced me to change a lot of code, with potential for trouble.
* moved discard functionality to an output moduleRainer Gerhards2007-07-241-3/+15
|
* changed action calling sequence to module interface/structureRainer Gerhards2007-07-241-1/+0
|
* changed select action config reader to use module interfaceRainer Gerhards2007-07-241-0/+1
|
* fixed wrong credits - last patch was by mildew -- sorry for that ;)Rainer Gerhards2007-07-241-38/+40
|
* moved selector action parsing for F_FORW to omfwdRainer Gerhards2007-07-241-0/+198
|
* continued working on modularization; begun to create interface forRainer Gerhards2007-07-231-0/+36
| | | | | configuring actions selector lines; begun basic functionality for module initialization and loading built-in modules.
* simplified action calling using new interface Warning: this version has aRainer Gerhards2007-07-231-4/+4
| | | | | structure alignment issue in omusrmsg.c, I currently do not know why. I check in so that others can look at it.
* moved file write output module to own set of code filesRainer Gerhards2007-07-221-0/+1
|
* moved some more modules to their own file setsRainer Gerhards2007-07-221-0/+242