summaryrefslogtreecommitdiffstats
path: root/cfsysline.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: some whitespaces where incorrectly not ignoredRainer Gerhards2008-05-141-0/+2
| | | | | when parsing the config file. This is now corrected. Thanks to Michael Biebl for pointing out the problem.
* added missing copyright statementsRainer Gerhards2008-04-241-0/+2
| | | | thanks to Michael Biebl for noticing
* bugfix: some slightly invalid memory accessesRainer Gerhards2008-03-201-1/+1
|
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-0/+2
|
* worked some more on HP UX - got it to compile and receive UDP messagesRainer Gerhards2008-03-061-1/+1
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-24/+30
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* implemented environment-settable debug optionsRainer Gerhards2008-02-281-8/+8
|
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-3/+3
| | | | rsyslog (now) and also much easier to type
* changed rsCStrDestruct() to use the new interface conventionsRainer Gerhards2008-02-201-2/+2
|
* - added doc on how expressions will workRainer Gerhards2008-02-191-2/+1
| | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros
* - added new facility and severity syntaxes to cfsysline handlerRainer Gerhards2008-02-141-19/+105
| | | | | - implemented $InputFileFacility config directive - implemented $InputFileSeverity config directive
* bugfix: having fun with 32/64 bit portability - after 15 years, I finallyRainer Gerhards2008-01-311-9/+9
| | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
* - implemented simple output rate limitingRainer Gerhards2008-01-301-2/+5
| | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure
* finally implemented infinite action retries via -1 retry countRainer Gerhards2008-01-301-1/+12
|
* implemented the $ActionResumeRetryCount config directiveRainer Gerhards2008-01-281-1/+1
|
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-19/+19
| | | | | | 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...
* - implemented new GetSize() handler for config filesRainer Gerhards2008-01-091-6/+86
| | | | - implemented $MainMsgQueueMaxFileSize configuration directive
* previous patch was incorrectRainer Gerhards2007-12-201-3/+4
|
* bugfix: memory leak in cfsysline.c/doGetWord() fixedRainer Gerhards2007-12-201-1/+9
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-8/+7
|
* fixed some type conversion warnings that appeared on 64 bit machines -Rainer Gerhards2007-12-071-3/+3
| | | | these were in debug statements, so indicated no real problem
* - added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-1/+45
| | | | | | | | | | 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()
* added support so that linkedlist key can be used for owner handleRainer Gerhards2007-11-211-7/+32
|
* added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-6/+10
| | | | command handler entries need to be removed when module is unloaded
* applied gssapi patch from varmojfekoj - gss-api is now supportedRainer Gerhards2007-11-191-0/+1
|
* cleaned up compiler warningsRainer Gerhards2007-09-111-6/+6
|
* removed debug aid that sneaked inRainer Gerhards2007-09-071-1/+0
|
* - added eCmdHdlrGetWord command handlerRainer Gerhards2007-09-071-0/+55
| | | | - added $ModDir config directive
* applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1Michael Meckelein2007-08-221-0/+6
| | | | release
* fixed a bug that would have manifested when module configuration commandsRainer Gerhards2007-08-091-1/+10
| | | | | would have been freed. The current code base, however, never does this, so this is not a real bug fix - it's in preparation of future work
* 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-2/+2
| | | | clib
* enhanced $Include to allow inclusion of a complete directoryRainer Gerhards2007-08-011-4/+16
|
* - some more code cleanupRainer Gerhards2007-08-011-15/+19
| | | | - enhanced cfsysline interface to disallow chaining of command handlers
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-011-4/+1
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* - $ResetConfigVariables now also works vir the table-driven sytem. However,Rainer Gerhards2007-07-311-0/+7
| | | | | I need to fix an issue with loading default settings when syslogd is started or HUPed
* - all cfsysline directives now use new table-driven cfsysline system exceptRainer Gerhards2007-07-311-1/+1
| | | | for $ResetConfigVariables
* omfile.c now uses the new table-driven cfsysline systemRainer Gerhards2007-07-311-3/+77
|
* - got the basic code in place to create an in-memory list of cfsyslineRainer Gerhards2007-07-311-4/+76
| | | | handlers (omfile.c used as testing case) -- not yet in active code
* - added interface to register a cfsysline command handler (basicRainer Gerhards2007-07-311-1/+39
| | | | functionality)
* prepared cfsysline.c for integration into output modulesRainer Gerhards2007-07-311-15/+12
|
* - added doCustomHdlr() to cfsysline.c - this completes implementingRainer Gerhards2007-07-311-0/+18
| | | | functions for canned handlers.
* - added macro to abort a function and go to finalizerRainer Gerhards2007-07-311-11/+6
| | | | - 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-8/+49
| | | | use it
* - moved the SetCCEscapeCharacter config file directive to cfsysline.c andRainer Gerhards2007-07-311-25/+37
| | | | also generalized it for further use while doing so
* - moved umask & file/dir creation mode parsing to cfsysline.cRainer Gerhards2007-07-311-6/+93
| | | | - added macro for easy and consistent check of iRet return value
* moved doGetGID() to cfsysline.cRainer Gerhards2007-07-311-0/+46
|
* moved doBinaryOption() and doGetGUID() to cfsysline.cRainer Gerhards2007-07-301-0/+115
|
* - added cfsysline objects - initial set of functionsRainer Gerhards2007-07-301-0/+137
- fixed bug in OMSRcreate() - always returned SR_RET_OK