summaryrefslogtreecommitdiffstats
path: root/modules.c
Commit message (Collapse)AuthorAgeFilesLines
* worked a bit on atomic memory operations to support problem-free threadingRainer Gerhards2008-03-311-1/+1
| | | | (only at non-intrusive places)
* - bugfix: accidently set debug option in 3.12.5 reset to production ThisRainer Gerhards2008-03-291-3/+3
| | | | | | | | option prevented dlclose() to be called. It had no real bad effects, as the modules were otherwise correctly deinitialized and dlopen() supports multiple opens of the same module without any memory footprint. - removed --enable-mudflap, added --enable-valgrind ./configure setting
* bugfix: $ModDir did invalid bounds checking, potential overlow inRainer Gerhards2008-03-271-13/+26
| | | | dbgprintf() - thanks to varmojfekoj for the patch
* made relp modules use new relpengine-provided feature selection functionsRainer Gerhards2008-03-271-1/+1
|
* removing valgrind instrumentation for releasev3-12-4Rainer Gerhards2008-03-251-1/+1
|
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-1/+0
| | | | Results in reducing code complexity.
* made librelp and rsyslog relp system send the first messages to the remoteRainer Gerhards2008-03-201-1/+1
| | | | peer (but it then discards them ;))
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-1/+7
|
* bugfix: potential segfault on module unload. Thanks to varmojfekoj for theRainer Gerhards2008-03-191-1/+3
| | | | patch
* added a clarification comment, which hopefully will be useful in the futureRainer Gerhards2008-03-181-0/+4
|
* bugfix: rsyslogd aborted on sigup - thanks to varmojfekoj for the patchRainer Gerhards2008-03-181-9/+17
|
* fixed problem in release buildv3-12-2Rainer Gerhards2008-03-131-0/+2
|
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-5/+0
| | | | | | just a fix but a change in the object model. Thanks to varmojfekoj for providing the bug report, an initial fix and lots of good discussion that lead to where we finally ended up.
* changed omgssapi and omfwd to utilize new object calling interface; made aRainer Gerhards2008-03-121-0/+12
| | | | | tcpclt class; (stage work, among others, for more intelligent recovery from TCP session recovery)
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-58/+226
|
* some cleanupRainer Gerhards2008-03-071-1/+0
|
* extracted regexp functionality to its own dynamically loadable moduleRainer Gerhards2008-03-071-1/+0
|
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-0/+29
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* applied some bugfixes to new code supplied by varmojfekoj - thanks!v3-12-1Rainer Gerhards2008-03-061-1/+1
|
* bugfix (yesterday's bug): abort during hup if library module was loadedRainer Gerhards2008-03-061-4/+9
|
* changed module loader to automatically add ".so" suffix if not specifiedRainer Gerhards2008-03-051-0/+21
| | | | (over time, this shall also ease portability of config files)
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-10/+6
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-32/+150
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-4/+9
| | | | - changed module interface version, as the interface change is quite large
* some stage work for library modulesRainer Gerhards2008-02-261-11/+5
|
* bugfix: rsyslogd segfaulted on second SIGHUP tracker:Rainer Gerhards2008-02-261-10/+46
| | | | http://bugzilla.adiscon.com/show_bug.cgi?id=38
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-6/+6
| | | | | | 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...
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-3/+0
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* fixed typoRainer Gerhards2007-12-251-1/+1
|
* removed single-threading support for sending TCP messages; causedRainer Gerhards2007-12-201-2/+0
| | | | | simplyfication of output module interface as well as core syslog processing.
* - implemented afterRun input module interface functionRainer Gerhards2007-12-171-0/+1
| | | | - implemented $klogSymbolsTwice config directive
* implemented $MarkMessagePeriod config directiveRainer Gerhards2007-12-171-0/+1
|
* graceful termination now supportedRainer Gerhards2007-12-141-0/+3
|
* added thread activationRainer Gerhards2007-12-141-0/+2
|
* on the way to a real input module interface and threading class...Rainer Gerhards2007-12-141-3/+9
|
* - begun to create input module interface and macrosRainer Gerhards2007-12-141-58/+44
| | | | - changed module interface to include function to query type
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* removed debug aidv1-20-0Rainer Gerhards2007-12-071-1/+0
|
* fixed some type conversion warnings that appeared on 64 bit machines -Rainer Gerhards2007-12-071-5/+5
| | | | these were in debug statements, so indicated no real problem
* some cleanupRainer Gerhards2007-11-211-20/+6
|
* - added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-1/+8
| | | | | | | | | | 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 an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-1/+10
| | | | command handler entries need to be removed when module is unloaded
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-5/+21
|
* cleaned up compiler warningsRainer Gerhards2007-09-111-0/+2
|
* applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1Michael Meckelein2007-08-221-0/+25
| | | | release
* - integrated patch from varmojfekoj to make the mysql module a loadable oneRainer Gerhards2007-08-141-2/+9
| | | | many thanks for the patch, MUCH appreciated
* added module unload functionality; rsyslogd now unloads modules on exit (ofRainer Gerhards2007-08-091-0/+21
| | | | | | course, with only statically linked modules, there is little current value in this - but it is made towards an upcoming dynaload plugin interface)
* added interface API for unloading module (a dummy)Rainer Gerhards2007-08-091-0/+26
|
* fixed a potential memory leak in modules.c, again, this could not happen inRainer Gerhards2007-08-091-1/+3
| | | | current code
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-14/+14
| | | | clib