summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
* - I found out that we finally have problems with the (somewhat recursive)Rainer Gerhards2007-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | call to logerror() that many of the modules do. I have not tried it, but I think things will become wild when we compile without pthread support. Threading prevents full recursion, so we have not seen any bad effects so far. However, the problems that I experienced in ommysl (that caused me to re-structure startWorker()) are actually rooted in this issue. I first thought to fix it via a module interace, but I now came to the conclusion that it is not more effort and much cleaner to do an internal error buffering class. This is implemented in errbuf.c/h. - I just noticed that this is not actually an error buf, but the core of an input module for all internal messages. As such, I implement it now as iminternal.c/h. Of course, there is no input module interface yet designed, but that doesn't matter. Worst-case, I need to re-write the im, best case I can use the im (at least partly) to define the interface. - added a few functions to the linkedlist class - error messages during startup are now buffered - so we do no longer need to think about how emergency logging might work. Actually, these are logged to whatever is instatiated in the log file. This enhances the chance that we will be able to drop the error message somewhere it is seen.
* - 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
* - some more code cleanupRainer Gerhards2007-08-011-0/+1
| | | | - enhanced cfsysline interface to disallow chaining of command handlers
* - got the basic code in place to create an in-memory list of cfsyslineRainer Gerhards2007-07-311-0/+3
| | | | handlers (omfile.c used as testing case) -- not yet in active code
* prepared cfsysline.c for integration into output modulesRainer Gerhards2007-07-311-2/+0
|
* added some more functions to linkedList classRainer Gerhards2007-07-311-0/+2
|
* added a generic linked list object (files linkedlist.h/c)Rainer Gerhards2007-07-311-0/+1
|
* moved code to open config file into separate function processConfFile()Rainer Gerhards2007-07-311-0/+1
|
* - added macro to abort a function and go to finalizerRainer Gerhards2007-07-311-1/+5
| | | | - added output of config file line number when a parsing error occured
* - added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler toRainer Gerhards2007-07-311-0/+3
| | | | use it
* - moved umask & file/dir creation mode parsing to cfsysline.cRainer Gerhards2007-07-311-0/+6
| | | | - added macro for easy and consistent check of iRet return value
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-271-0/+1
| | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully
* - implemented needUDPSocket() interfaceRainer Gerhards2007-07-261-0/+3
| | | | | | | | - 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
* introduced getWriteFDForSelect() module APIRainer Gerhards2007-07-251-0/+1
|
* changed output modules to use a template-based code generation system forRainer Gerhards2007-07-251-1/+0
| | | | standard entry points (implemented via preprocessor)
* removed F_UNUSED and cleaned up action-disabling handlingRainer Gerhards2007-07-241-0/+1
|
* major task: made sure no selector_t is created for selector lines that canRainer Gerhards2007-07-241-0/+2
| | | | | 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-0/+2
|
* continued working on modularization; begun to create interface forRainer Gerhards2007-07-231-0/+8
| | | | | 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-1/+4
| | | | | omusrmsg to be defunct) - many thanks to maharaja for providing the right idea at the right time ;)
* more cleanup; restored compatibility to non-gcc compilersRainer Gerhards2007-07-181-0/+8
|
* fully integrated patch from mildew@gmail.comRainer Gerhards2007-07-161-2/+0
|
* applied patch by mildew@gmail.com to support IPv6 in $AllowedSendersRainer Gerhards2007-07-161-0/+2
|
* adding uchar type for easy refRainer Gerhards2007-07-101-1/+6
|
* some changes to support SolarisRainer Gerhards2006-02-161-0/+3
|
* made "!progname" fully BSD-compliant; added property "programname"Rainer Gerhards2005-10-191-0/+1
|
* begin implementing RFC 3195 supportRainer Gerhards2005-10-061-5/+4
|
* nearing completion of allowedSenders functionalityRainer Gerhards2005-09-271-0/+3
|
* added parsing of property-filter (but not complete property selector lineRainer Gerhards2005-09-191-1/+5
| | | | yet)
* on the way to adding property-based filters - right before changingRainer Gerhards2005-09-151-4/+13
| | | | cfline()
* prepared for new parse object; now removed allmost all liblogging borrowedRainer Gerhards2005-09-151-0/+73
code