19 Commits

Author SHA1 Message Date
Rainer Gerhards
545346e697 - changed modules.c calling conventions to be interface-based
- 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)
2008-03-05 10:30:06 +00:00
Rainer Gerhards
80e69562be did some portability changes to make rsyslog compile on HP UX 2008-03-05 07:01:35 +00:00
Rainer Gerhards
9d8eb28ebd - added class tcps
- added class tcps_sess
- changed imtcp to use new classes; seems to work; imgssapi currently
    broken
2008-03-02 10:19:25 +00:00
Rainer Gerhards
b494d54b98 converted conf.c to an abstract class 2008-02-29 17:13:21 +00:00
Rainer Gerhards
5f8b43e12a corrected invalid function definition 2008-02-29 16:08:23 +00:00
Rainer Gerhards
a7eb97b930 - added "debug" command to debug environment settings
- changed the object/interface system to use a new way of calling, giving
    up the numerical object ID. This was necessary as we needed more
    extensibility for third-party modules (which don't play at all with the
    previous fixed object ID). This is stage work for the object loader.
    Please note that I needed to change the object (de)serializer, I can't
    outrule that I have introduced bugs there.
2008-02-29 16:02:07 +00:00
Rainer Gerhards
ad0f35124a bugfix: removed debugging code that I forgot to remove before releasing
3.12.0 (does not cause harm and happened only during startup)
2008-02-28 16:01:36 +00:00
Rainer Gerhards
5ebc0db1a6 - added PUSHMSGVAR operation
- included expression support in filter module (and it works ;))
2008-02-25 13:27:10 +00:00
Rainer Gerhards
a24cee11b7 - added some temporary testing aids to conf.c, so that we can debug
expression support as it is implemented
- fixed a couple of bugs in expression system
- added more operations to virtual machine - now works well with constants
2008-02-25 10:28:23 +00:00
Rainer Gerhards
32723ecf1e fixed bug in duplicate module load detection 2008-02-22 08:19:54 +00:00
Rainer Gerhards
51bb02e3cd applied patch by varmojfekoj to allow gssapi functionality to be build as a
separate plugin (so that gssapi and plain tcp functionality can be
    individually distributed). Also inclulded some other enhancements, most
    importantly initial compatibility mode system
2008-02-22 07:24:15 +00:00
Rainer Gerhards
45136c6656 some more interface changes 2008-02-21 14:31:56 +00:00
Rainer Gerhards
04622f7d22 first steps in implementing object interfaces (stage work for later dynamic
class loading)
2008-02-21 13:27:51 +00:00
Rainer Gerhards
013073f1a6 changed rsCStrObj name to cstr_t, which is more inline with the rest of
rsyslog (now) and also much easier to type
2008-02-21 07:00:29 +00:00
Rainer Gerhards
c6bebca3c7 changed rsCStrDestruct() to use the new interface conventions 2008-02-20 14:02:33 +00:00
Rainer Gerhards
f02d615052 - basic implementation of expression parser parsing done
- improved ABNF a bit
2008-02-20 09:54:58 +00:00
Rainer Gerhards
7a146af86f - begun implementation of expression parsing logic
- implemented, simpstr, var, number in tokenizer
2008-02-19 17:38:37 +00:00
Rainer Gerhards
47aab374d4 - added ctok class (the config tokenizer)
- done stage work to begin implement tokenizer
2008-02-19 14:07:10 +00:00
Rainer Gerhards
c5f99dc222 - moved config file code to its own file
- finally made CONT_LINES in config the only standard support (the code
    contained code for other case, which were never executed by the
    preprocessor)
2008-02-19 11:20:18 +00:00