summaryrefslogtreecommitdiffstats
path: root/iminternal.c
Commit message (Collapse)AuthorAgeFilesLines
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-1/+1
| | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version)
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-6/+6
| | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS...
* worked on threadingRainer Gerhards2008-01-171-1/+1
|
* some cleanupRainer Gerhards2008-01-101-1/+1
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* cleaned up compiler warningsRainer Gerhards2007-09-111-1/+1
|
* 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-2/+2
| | | | clib
* - I found out that we finally have problems with the (somewhat recursive)Rainer Gerhards2007-08-031-0/+189
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.