summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - got the basic code in place to create an in-memory list of cfsyslineRainer Gerhards2007-07-318-41/+141
| | | | handlers (omfile.c used as testing case) -- not yet in active code
* - added interface to register a cfsysline command handler (basicRainer Gerhards2007-07-314-5/+54
| | | | functionality)
* - changed modInit() interface to contain pointer to host-function queryRainer Gerhards2007-07-3114-10/+66
| | | | method
* prepared cfsysline.c for integration into output modulesRainer Gerhards2007-07-316-27/+29
|
* - fixed a typo that caused the default template for MySQL to be wrong.Rainer Gerhards2007-07-311-1/+1
| | | | thanks to mildew for catching this.
* added some more functions to linkedList classRainer Gerhards2007-07-313-5/+84
|
* added a generic linked list object (files linkedlist.h/c)Rainer Gerhards2007-07-314-1/+178
|
* - added doCustomHdlr() to cfsysline.c - this completes implementingRainer Gerhards2007-07-313-9/+39
| | | | functions for canned handlers.
* moved debug printf code out of init() into its own functionRainer Gerhards2007-07-312-68/+79
|
* - fixed bug in objomsr.c that caused program to abort in debug mode with anRainer Gerhards2007-07-311-1/+1
| | | | invalid assertion (in some cases)
* moved code to open config file into separate function processConfFile()Rainer Gerhards2007-07-312-90/+113
|
* - added macro to abort a function and go to finalizerRainer Gerhards2007-07-314-35/+46
| | | | - added output of config file line number when a parsing error occured
* added macro to consistently define iRetRainer Gerhards2007-07-315-17/+17
|
* - added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler toRainer Gerhards2007-07-314-44/+70
| | | | use it
* - moved the SetCCEscapeCharacter config file directive to cfsysline.c andRainer Gerhards2007-07-313-49/+39
| | | | also generalized it for further use while doing so
* - moved umask & file/dir creation mode parsing to cfsysline.cRainer Gerhards2007-07-315-84/+119
| | | | - added macro for easy and consistent check of iRet return value
* moved doGetGID() to cfsysline.cRainer Gerhards2007-07-313-35/+49
|
* fixed insufficient memory allocation in addAction() and its helpers. TheRainer Gerhards2007-07-302-22/+47
| | | | | | initial fix and idea was developed by mildew, I fine-tuned it a bit. Thanks a lot for the fix, I'd probably had pulled out my hair to find the bug...
* moved doBinaryOption() and doGetGUID() to cfsysline.cRainer Gerhards2007-07-305-116/+152
|
* - fixed a memory leak in syslogd/init() that happend when the config fileRainer Gerhards2007-07-302-2/+4
| | | | could not be read - thanks to varmojfekoj for the patch
* fixed a mem leak in OMSRdestruct - freeing the object itself was forgottenRainer Gerhards2007-07-302-0/+3
| | | | - thanks to varmojfekoj for the patch
* fixed a bug that caused ommysql to always complain about missing templatesRainer Gerhards2007-07-302-0/+7
|
* - added cfsysline objects - initial set of functionsRainer Gerhards2007-07-305-4/+212
| | | | - fixed bug in OMSRcreate() - always returned SR_RET_OK
* bumping up version numberRainer Gerhards2007-07-301-2/+2
|
* preparing for 1.17.5v1-17-5Rainer Gerhards2007-07-304-6/+15
|
* fixed a problem with shutting down the worker thread and freeing theRainer Gerhards2007-07-292-5/+18
| | | | | selector_t list - this caused messages to be lost, because the message queue was not properly drained before the selectors got destroyed.
* added a bit more information about modulesRainer Gerhards2007-07-281-0/+43
|
* fixed a missing file bug - thanks to Andrea Montanari for reporting thisRainer Gerhards2007-07-282-1/+4
| | | | problem
* removed selector_t f references from output modulesRainer Gerhards2007-07-278-40/+37
|
* removed left-over debug printfRainer Gerhards2007-07-271-1/+0
|
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-2714-225/+276
| | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-276-4/+190
| | | | modules
* prepared doc for 1.17.4v1-17-4Rainer Gerhards2007-07-273-4/+44
|
* preparing for 1.17.4 releaseRainer Gerhards2007-07-271-1/+1
|
* forgot to undo some changes - now doneRainer Gerhards2007-07-271-5/+0
|
* removed debug codeRainer Gerhards2007-07-271-2/+0
|
* undone last change - was not a good idea. Designed a smarter interface.Rainer Gerhards2007-07-272-28/+0
|
* added IDs to selector_tRainer Gerhards2007-07-262-1/+33
|
* - changed doAction() interface to contain the full message stringRainer Gerhards2007-07-269-213/+28
| | | | - f_iov and its handling has been removed
* - implemented needUDPSocket() interfaceRainer Gerhards2007-07-2612-97/+153
| | | | | | | | - 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
* - removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.cRainer Gerhards2007-07-267-44/+32
| | | | | | | - removed f_type from syslogd.c/cflineParseFileName() - fixed bug in omfile.c which could lead to invalid addressing if "-" was given to not sync file - removed f_type from omfile.c
* - removed references to f_un from omfile.cRainer Gerhards2007-07-262-131/+130
| | | | - milestone reached: f->f_un has gone away!
* removed references to f_un from omshell.cRainer Gerhards2007-07-261-5/+6
|
* removed references to f_un from omfwd.cRainer Gerhards2007-07-262-102/+99
|
* - removed references to f_un from ommysql.cRainer Gerhards2007-07-263-75/+66
|
* - changed doAction() interface to include module data pointerRainer Gerhards2007-07-269-54/+29
| | | | | | - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency]
* - shuffled code from tcpsyslog.c to omfwd.c. It looks like it belongs moreRainer Gerhards2007-07-263-372/+370
| | | | | | | to that file. But we need to look at it some time later. The move was absolutely necessary so that no access to f->f_un happened in tcpsyslog.c (which was evil) - milestone reache: no more access to f->f_un from non-output modules
* - implemented onSelectReadyWrite() interfaceRainer Gerhards2007-07-2610-19/+102
| | | | - milestone reached: no more access to f->f_un in syslogd.c
* applied patch from Michel Samia to fix compilation when NOT compiled forRainer Gerhards2007-07-262-1/+9
| | | | pthreads
* fixed a situation where rsyslogd could create zombie processes thanks toRainer Gerhards2007-07-261-1/+1
| | | | mildew for the patch