summaryrefslogtreecommitdiffstats
path: root/template.c
Commit message (Collapse)AuthorAgeFilesLines
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-4/+4
| | | | rsyslog (now) and also much easier to type
* changed rsCStrDestruct() to use the new interface conventionsRainer Gerhards2008-02-201-5/+5
|
* - added doc on how expressions will workRainer Gerhards2008-02-191-7/+4
| | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-1/+1
| | | | | | 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...
* removed some no-longer-needed code (thanks Michael Biebl for the help)Rainer Gerhards2008-01-051-4/+0
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-1/+19
|
* fixed some type conversion warnings that appeared on 64 bit machines -Rainer Gerhards2007-12-071-1/+1
| | | | these were in debug statements, so indicated no real problem
* adding sur5r's postgres module - many thanks for providing it! There are aRainer Gerhards2007-12-031-0/+5
| | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
* - changed part of the CStr interface so that better error tracking isRainer Gerhards2007-09-051-40/+38
| | | | | | | 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.
* - fixed bug: a template like this causes an infinite loop: $templateRainer Gerhards2007-09-041-0/+2
| | | | | | | 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-4/+13
| | | | | 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/+4
|
* 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-49/+49
| | | | clib
* moved file write output module to own set of code filesRainer Gerhards2007-07-221-0/+211
|
* code cleanup (removed compiler warningsRainer Gerhards2007-07-181-3/+4
|
* fixed minimal memory leak on HUP (caused by templates) thanks toRainer Gerhards2007-07-181-0/+51
| | | | varmojfekoj for the patch
* moving towards autotools build system - config.h include forgotten & nowRainer Gerhards2007-07-111-0/+4
| | | | fixed
* forgotten to comment out some dprintf()s - fixed thatRainer Gerhards2007-07-051-5/+5
|
* removed some no-longer-necessary dprintf()s; worked towards more unsignedRainer Gerhards2007-07-051-28/+31
| | | | chars
* some more unsigned char conversions...Rainer Gerhards2007-07-041-1/+1
|
* applied patch from Bartosz Kuzma to compile cleanly under NetBSD; changed aRainer Gerhards2007-07-031-12/+12
| | | | number of char to unsigned char
* property replacer options space-cc and drop-cc addedRainer Gerhards2006-11-171-0/+10
|
* added '$' toPos specifierRainer Gerhards2006-10-171-0/+10
|
* made the field-delimiter inside property replacer (templates) configurableRainer Gerhards2006-09-271-9/+34
|
* finished field-based property replacer codeRainer Gerhards2005-12-231-21/+29
|
* added support for field-based text extraction in the property replacer.Rainer Gerhards2005-12-221-5/+16
| | | | This is untested so far (the evening came quicker than anticipated ;))
* dual-threading code looks now fairly complete and stableRainer Gerhards2005-10-251-3/+1
|
* fixed some issues with TCP senderRainer Gerhards2005-10-251-0/+1
|
* fixed a problem with MySQL field escapesRainer Gerhards2005-09-231-4/+8
|
* prepared for new parse object; now removed allmost all liblogging borrowedRainer Gerhards2005-09-151-1/+1
| | | | code
* fixed probem with my regex merge; added compile time option output to -vRainer Gerhards2005-09-131-80/+86
| | | | option display
* merged Andres Riancho's regex extensions into the code (hopefullyRainer Gerhards2005-09-131-15/+85
| | | | correctly)
* initial implementation of the counted string class completed (but so farRainer Gerhards2005-09-091-19/+23
| | | | only a very feature-less class). code compiles again.
* coming closer to 0.9.0 - this checkin test only!Rainer Gerhards2005-06-221-1/+1
|
* removed some #ifdef's BSD because we can do the same on RedHat, too...Rainer Gerhards2005-04-211-4/+0
|
* FreeBSD portRainer Gerhards2005-04-211-0/+8
|
* memory leak fixedRainer Gerhards2005-02-221-1/+44
|
* property option drop-last-lf added; some doc in test.confRainer Gerhards2004-12-081-0/+10
|
* substring support for properties added, some fixesRainer Gerhards2004-12-031-23/+46
|
* Added some MySQL stuffMichael Meckelein2004-11-251-1/+2
|
* fixed the bug, template engine should now workRainer Gerhards2004-11-251-0/+10
|
* everything in place now to support writing to SQLRainer Gerhards2004-11-231-13/+106
|
* now includes sql option in template to escape quote chractersRainer Gerhards2004-11-231-4/+48
|
* coming very close - all but the network sender are working again (but withRainer Gerhards2004-11-191-1/+22
| | | | templates ;))
* fixing upload error - template parser also okRainer Gerhards2004-11-191-3/+3
|
* MsgObjNearlyCompletedRainer Gerhards2004-11-181-10/+90
|
* ComingCloserRainer Gerhards2004-11-171-5/+211
|
* begin templatesRainer Gerhards2004-11-171-0/+35