summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* - 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