summaryrefslogtreecommitdiffstats
path: root/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* - added PUSHMSGVAR operationRainer Gerhards2008-02-251-0/+47
| | | | - included expression support in filter module (and it works ;))
* simplified var object, now only supports strings and numbers as a singleRainer Gerhards2008-02-221-14/+14
| | | | type
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-1/+1
| | | | rsyslog (now) and also much easier to type
* changed rsCStrDestruct() to use the new interface conventionsRainer Gerhards2008-02-201-7/+6
|
* created var class out of property_tRainer Gerhards2008-02-201-1/+1
|
* - added doc on how expressions will workRainer Gerhards2008-02-191-34/+34
| | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros
* - implemented simple output rate limitingRainer Gerhards2008-01-301-2/+3
| | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-78/+68
| | | | | | 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)
* implemented naming for all objects (mostly as a debug aid, but you neverRainer Gerhards2008-01-291-1/+1
| | | | know what else it will be good for)
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-16/+20
| | | | | | 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-4/+9
|
* begin disk assisted queue memory queue modes (not fully implemented yet)Rainer Gerhards2008-01-141-2/+0
|
* implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (butRainer Gerhards2008-01-141-0/+15
| | | | serverity needs to be specified numerically for the time being)
* 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-1/+1
|
* changed some config parameters and some cleanupRainer Gerhards2008-01-101-1/+1
|
* - added write functions for several types to stream classRainer Gerhards2008-01-101-29/+25
| | | | - changed objSerialize methods to work directly on the stream class
* completed deserialization support in msg object (but not deserializerRainer Gerhards2008-01-081-7/+17
| | | | itself)
* - first implementation of "disk" queue mode finished. It still needs someRainer Gerhards2008-01-081-0/+13
| | | | | | | work and the deserializer needs also to be expanded, but the queue at least performs well now. - fixed a race condition that could occur when input modules were terminated
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-10/+57
| | | | | - defined a property class - implemented deserializer (needs some more work)
* implemented class type registryRainer Gerhards2008-01-071-1/+1
|
* performance-tuned stringbuf classRainer Gerhards2008-01-071-1/+1
|
* worked on object header (now also contains the size)Rainer Gerhards2008-01-061-8/+5
|
* completed serializer for msg (but needs review)Rainer Gerhards2008-01-061-36/+23
|
* worked a bit on object serializationRainer Gerhards2008-01-061-13/+22
|
* added the "direct" queueing mode to queue class (no queing at all)Rainer Gerhards2008-01-051-0/+2
|
* added capability for concurrent access to the msg class. Can be dynamicallyRainer Gerhards2008-01-051-99/+256
| | | | activated. If active, locking is employed.
* changed queue object Construction/Startup interfaceRainer Gerhards2008-01-041-2/+1
|
* moved message destruction back to consumer - the consume should decide whatRainer Gerhards2008-01-041-2/+0
| | | | | to do with the object. It may pass it on to someone else. So this would have creatd some headache in the future (maybe...).
* utilized the new auto-destruction capability so that the queue can nowRainer Gerhards2008-01-041-5/+7
| | | | destruct user objects if needed
* removed serialization pointer from queue; used new base class insteadRainer Gerhards2008-01-041-0/+3
|
* - begun some work on Msg Object serializiationRainer Gerhards2008-01-041-0/+66
| | | | - created a kind of general base class
* some cleanupRainer Gerhards2007-12-271-1/+1
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* some cleanup (very minor)Rainer Gerhards2007-12-121-2/+2
|
* fix for memory leak with PostgreSQL date format was incomplete - corectedRainer Gerhards2007-12-121-0/+2
|
* fixed a small memory leak that happend when PostgreSQL date formatting wasRainer Gerhards2007-12-111-0/+2
| | | | used
* added Bartosz Kuzma patches for better compatibility with NetBSD - manyRainer Gerhards2007-12-031-1/+1
| | | | thanks for them!
* adding sur5r's postgres module - many thanks for providing it! There are aRainer Gerhards2007-12-031-1/+25
| | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
* moved syslog PRI code tables to msg.c as this is the only place where theyRainer Gerhards2007-11-271-0/+44
| | | | are still needed
* code cleanupRainer Gerhards2007-09-201-3/+3
|
* - removed compiler warnings in non-debug modev1-19-6bRainer Gerhards2007-09-111-6/+6
| | | | | | - fixed a bug that caused the CStr class to not honor the parameter to return NULL on empty string - causes a mem leak and can create favourable environment for other bugs (as it leads to empty hostnames)
* added some additional commentsRainer Gerhards2007-09-111-10/+30
|
* applied patch by varmojfekoj to FIX a bug that could cause segfaults ifRainer Gerhards2007-09-111-105/+195
| | | | | empty properties were processed using modifying options (e.g. space-cc, drop-cc)
* applied patch by varmojfekoj two fix two potential segfault situationsRainer Gerhards2007-09-071-1/+1
|
* - changed part of the CStr interface so that better error tracking isRainer Gerhards2007-09-051-35/+35
| | | | | | | 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.
* changed some calles to CStr class to their "safe" counterpart - they couldRainer Gerhards2007-09-041-1/+1
| | | | case program aborts if the object in question was an empty string
* - fixed bug: a template like this causes an infinite loop: $templateRainer Gerhards2007-09-041-8/+12
| | | | | | | opts,"%programname:::a,b%" thanks varmojfekoj for the patch - fixed bug: case changing options crash freeing the string pointer because they modify it: $template opts2,"%programname::1:lowercase%" thanks varmojfekoj for the patch
* applied patch form varmojfekoj to fix some mem leaks and a check to makeRainer Gerhards2007-09-041-0/+8
| | | | | sure that an empty string (NULL) returned by the CStr class does not cause a program abort.
* patches and docu update for 1.19.3v1-19-3Michael Meckelein2007-08-311-0/+39
|