Jan Vidar Krey
318163c066
Added support for dynamic commands.
...
Dynamic commands are user commands that can be added dynamically to
the hub by a plugin.
The example plugin (mod_example.c) adds a !example command that when
invoked send a message to the user who invoked it.
2011-12-09 10:29:50 +01:00
Jan Vidar Krey
9f16298688
Fix minor valgrind issues
...
- Fix valgrind invalid write of 1 byte.
- Fix a few plugin related memory leaks.
2011-12-01 15:14:01 +01:00
Jan Vidar Krey
39572c3684
Made plugin loading work properly on Windows.
2011-09-08 01:00:32 +02:00
Jan Vidar Krey
324bfcd2c8
Added plugin loader routines for windows.
2011-09-07 00:31:38 +02:00
Jan Vidar Krey
9b57279628
Many Visual C++ compile warnings and errors fixed.
2011-01-03 00:03:07 +01:00
Jan Vidar Krey
93be2c584e
Reworked plugin APIs slightly, added full support for authentication from plugins.
2010-07-29 08:43:22 +02:00
Jan Vidar Krey
97feb3635e
Allow plugins to provide an error message. Useful for reporting problems
...
when registering the plugins.
2010-07-29 08:41:26 +02:00
Jan Vidar Krey
bdcf35b63d
Cleanup code and allow for plugins to provide an error message.
2010-07-19 01:36:23 +02:00
Jan Vidar Krey
ccb318547d
Started using new file reader tokenizer.
2010-07-10 03:36:47 +02:00
Jan Vidar Krey
aa26052479
Misc plugin work
...
* Fix crash when unloading plugins.
* Fixed plugin loader and plugin unload handler.
* Added a new example plugin: mod_logging which logs users logging in and out of the hub to stdout.
2010-06-29 15:40:19 +02:00
Jan Vidar Krey
ccaa4860b4
Started working on the plugin configuration and loader code.
...
The example plugin works, but does not do anything.
2010-06-13 19:34:20 +02:00
Jan Vidar Krey
07d4e4470c
More work on the plugin API.
2010-06-06 16:19:59 +02:00
Jan Vidar Krey
ed53034ad5
Added plugin loader code, merely a wrapper around dlopen() and friends.
2010-05-30 23:33:06 +02:00