summaryrefslogtreecommitdiffstats
path: root/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* applied patches for release 1.19.2, update documentationv1-19-2Michael Meckelein2007-08-281-3/+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-15/+15
| | | | clib
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-011-1/+0
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* moved file write output module to own set of code filesRainer Gerhards2007-07-221-0/+507
|
* moved part of the shell action to its own moduleRainer Gerhards2007-07-201-1/+0
|
* - removed a memory leak that could occur if timegenerated was used in RFCRainer Gerhards2007-07-201-21/+111
| | | | | | 3164 format in templates - did some preparation in msg.c for advanced multithreading - placed the hooks, but not yet any active code
* defined some macros for further use with advanced multithreadingRainer Gerhards2007-07-201-6/+12
|
* moved message object into its own set of filesRainer Gerhards2007-07-191-0/+1041