summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
Commit message (Collapse)AuthorAgeFilesLines
* our BSD define conflicted with a BSD system defineRainer Gerhards2008-04-091-3/+3
| | | | renamed to OS_BSD
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-5/+0
| | | | Results in reducing code complexity.
* fixed typo (thanks to Michael Biebl)Rainer Gerhards2008-03-061-1/+1
|
* (tried to) fix logerror() call under BSD (but can not yet compile, so thisRainer Gerhards2008-03-061-1/+4
| | | | may be an error...)
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-0/+7
|
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* created omtesting, a debug and development aid output module. This is stageRainer Gerhards2007-12-311-1/+1
| | | | | work for the new queueing engine - we need a way to delay rule execution and that's what the module currently does ;)
* removed single-threading support for sending TCP messages; causedRainer Gerhards2007-12-201-10/+0
| | | | | simplyfication of output module interface as well as core syslog processing.
* - begun to create input module interface and macrosRainer Gerhards2007-12-141-0/+2
| | | | - changed module interface to include function to query type
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* added Bartosz Kuzma patches for better compatibility with NetBSD - manyRainer Gerhards2007-12-031-0/+3
| | | | thanks for them!
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-0/+5
|
* comments addedv1-19-6Rainer Gerhards2007-09-111-0/+1
|
* removed old comment that no longer applied (accidently survived patching)Rainer Gerhards2007-09-111-4/+0
|
* applied patch by varmojfekoj to change signal handling to the new sigactionRainer Gerhards2007-09-111-4/+11
| | | | API set (replacing the depreciated signal() calls and its friends.
* applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1Michael Meckelein2007-08-221-4/+4
| | | | release
* - integrated patch from varmojfekoj to make the mysql module a loadable oneRainer Gerhards2007-08-141-3/+11
| | | | many thanks for the patch, MUCH appreciated
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-3/+3
| | | | clib
* - 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
* added tryResume() API to module interfaceRainer Gerhards2007-08-021-0/+4
|
* fixed typoRainer Gerhards2007-08-011-1/+1
|
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-011-4/+4
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* - 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-3/+2
|
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-271-32/+10
| | | | | | 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-5/+4
| | | | - f_iov and its handling has been removed
* - implemented needUDPSocket() interfaceRainer Gerhards2007-07-261-0/+5
| | | | | | | | - 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 f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.cRainer Gerhards2007-07-261-3/+4
| | | | | | | - 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
* - changed doAction() interface to include module data pointerRainer Gerhards2007-07-261-16/+12
| | | | | | - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency]
* - implemented onSelectReadyWrite() interfaceRainer Gerhards2007-07-261-0/+8
| | | | - milestone reached: no more access to f->f_un in syslogd.c
* introduced getWriteFDForSelect() module APIRainer Gerhards2007-07-251-0/+5
|
* added new function dbgPrintInstInfo() to omod interfaceRainer Gerhards2007-07-251-0/+8
|
* changed output modules to use a template-based code generation system forRainer Gerhards2007-07-251-76/+41
| | | | standard entry points (implemented via preprocessor)
* added freeInstance() call to output module interface; re-structuredRainer Gerhards2007-07-241-3/+12
| | | | ressource release code in syslogd.c
* removed F_UNUSED and cleaned up action-disabling handlingRainer Gerhards2007-07-241-9/+3
|
* major task: made sure no selector_t is created for selector lines that canRainer Gerhards2007-07-241-13/+15
| | | | | 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-4/+16
|
* changed action calling sequence to module interface/structureRainer Gerhards2007-07-241-2/+0
|
* fixed wrong credits - last patch was by mildew -- sorry for that ;)Rainer Gerhards2007-07-241-18/+20
|
* continued working on modularization; begun to create interface forRainer Gerhards2007-07-231-1/+127
| | | | | configuring actions selector lines; begun basic functionality for module initialization and loading built-in modules.
* fixed a very nasty bug in structure creation of struct filed (causedRainer Gerhards2007-07-231-13/+6
| | | | | omusrmsg to be defunct) - many thanks to maharaja for providing the right idea at the right time ;)
* simplified action calling using new interface Warning: this version has aRainer Gerhards2007-07-231-2/+11
| | | | | structure alignment issue in omusrmsg.c, I currently do not know why. I check in so that others can look at it.
* changed calling interface for doAction() as a reminder for the otherRainer Gerhards2007-07-221-1/+1
| | | | modules
* changed interface, now is updated by rule engineRainer Gerhards2007-07-221-1/+0
|
* moved mysql action to its own code filesRainer Gerhards2007-07-201-1/+1
|
* moved code for user and wall message action into its own filesRainer Gerhards2007-07-201-0/+218