summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-1/+3
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-0/+4
|
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-0/+2
| | | | - changed module interface version, as the interface change is quite large
* fixed newly introduced bugs in imgssapi and imtcp and their helpers nowRainer Gerhards2008-03-031-0/+1
| | | | plain tcp works again
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-0/+2
| | | | | | | | | - changed the object/interface system to use a new way of calling, giving up the numerical object ID. This was necessary as we needed more extensibility for third-party modules (which don't play at all with the previous fixed object ID). This is stage work for the object loader. Please note that I needed to change the object (de)serializer, I can't outrule that I have introduced bugs there.
* bugfix: object property deserializer did not handle negative numbersRainer Gerhards2008-02-271-1/+2
|
* - added sysvar classRainer Gerhards2008-02-251-0/+5
| | | | - added PUSHSYSVAR operation to vm
* - added some thoughts on RainerScriptRainer Gerhards2008-02-241-1/+3
| | | | - worked a bit on conversion functions
* worked a bit on type conversion (specified the interface)Rainer Gerhards2008-02-221-0/+1
|
* begun implementing rsyslog virtual machine (vm class)Rainer Gerhards2008-02-221-0/+1
|
* completed initial vmstk implementationRainer Gerhards2008-02-221-0/+2
|
* first steps in implementing object interfaces (stage work for later dynamicRainer Gerhards2008-02-211-0/+1
| | | | class loading)
* - begun implementation of expression parsing logicRainer Gerhards2008-02-191-0/+3
| | | | - implemented, simpstr, var, number in tokenizer
* implemented initial tokenizer (stage work for expr parser)Rainer Gerhards2008-02-191-0/+1
|
* - implemented $ActionLibdbiDriverDirectory config directiveRainer Gerhards2008-02-151-0/+1
| | | | | - some cleanup - doc improvements
* did some more work on omlibdbi, but did not yet get libdbi working. I guessRainer Gerhards2008-02-151-0/+1
| | | | its a compile problem, but have not found it so far.
* error handling and cleanup in imfileRainer Gerhards2008-02-141-0/+2
|
* done some more work on omsnmp to bring it fully in line with recent rsyslogRainer Gerhards2008-02-111-2/+2
| | | | developments
* bugfix: having fun with 32/64 bit portability - after 15 years, I finallyRainer Gerhards2008-01-311-0/+5
| | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
* cleanup to prepare for releaseRainer Gerhards2008-01-281-0/+1
|
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-5/+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...
* fixed sync issue on shutdown process if need to persist pure memory queueRainer Gerhards2008-01-171-1/+1
| | | | to disk
* worked on threadingRainer Gerhards2008-01-171-1/+1
|
* implemented dynamic startup and shutdown of worker threads based on currentRainer Gerhards2008-01-161-0/+1
| | | | activity
* - implemented $MainMsgQueueDiscardMark == 0 --> disable Discard logicRainer Gerhards2008-01-141-0/+1
| | | | - implemented $MainMsgQueueSize == 0 --> no limit on queue size
* worker shutdown sequence enhanced to try different ways to shut down andRainer Gerhards2008-01-141-0/+1
| | | | | terminate workers if none helps (this protects against badly written output plugins which hold the queue for too long)
* support for reading back persistet queue information completedRainer Gerhards2008-01-131-1/+5
|
* partial ability to read a disk queue back in (not completed, but would likeRainer Gerhards2008-01-111-0/+2
| | | | to save source for the weekend)
* support for de-serializing strm objects addedRainer Gerhards2008-01-111-0/+1
|
* added function to de-serialize a property bag (untested as other code isRainer Gerhards2008-01-111-0/+1
| | | | yet missing)
* some cleanupRainer Gerhards2008-01-101-4/+4
|
* changed queue class to use stream classRainer Gerhards2008-01-091-1/+1
|
* implemented queue object method to set the file name prefixRainer Gerhards2008-01-091-0/+1
|
* - implemented new GetSize() handler for config filesRainer Gerhards2008-01-091-0/+1
| | | | - implemented $MainMsgQueueMaxFileSize configuration directive
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-0/+9
| | | | | - defined a property class - implemented deserializer (needs some more work)
* implemented class type registryRainer Gerhards2008-01-071-0/+1
|
* implemented buffered read calls for the queue fileRainer Gerhards2008-01-071-0/+2
|
* queue is now a full object and handles threading by itselfRainer Gerhards2008-01-031-0/+1
|
* took TCPSend() apart and made it generic via function pointersRainer Gerhards2007-12-281-0/+4
|
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-4/+0
| | | | ----------------------------------------------------------------------
* - implemented afterRun input module interface functionRainer Gerhards2007-12-171-0/+1
| | | | - implemented $klogSymbolsTwice config directive
* implemented $MarkMessagePeriod config directiveRainer Gerhards2007-12-171-0/+1
|
* moved thread termination code out to threads.cRainer Gerhards2007-12-171-0/+1
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-0/+19
|
* - added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-0/+1
| | | | | | | | | | command handler entries need to be removed when module is unloaded - added support so that linkedlist key can be used for owner handle - enhanced llExecFunc to support deletion of list elements (on behalf of user function being called, slight interface change) - enhanced linkedlist class so that list elements can now be deleted based on the key value they have - created entry point so that CfSysLine handlers are removed on modExit()
* split the function cvthname() for clarity. Also changed to using theRainer Gerhards2007-09-181-0/+3
| | | | rsRetVal status return system
* - changed part of the CStr interface so that better error tracking isRainer Gerhards2007-09-051-0/+2
| | | | | | | provided and the calling sequence is more intuitive (there were invalid calls based on a too-weired interface) - (hopefully) fixed some remaining bugs rooted in wrong use of the CStr class. These could lead to program abort.
* applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1Michael Meckelein2007-08-221-3/+5
| | | | release
* optimized select handling, after select polling cycle is now finished whenRainer Gerhards2007-08-081-0/+1
| | | | all active selectors are processed
* - 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.