uhub/src/core
Jan Vidar Krey 714d110a94 Fix bug #185 - Args of !commands lost/damaged.
All string arguments were incorrectly freed after being added to the argument list for a command.
Instead this fix makes sure it is properly copied into a new string, and by doing so this requires
a new API for dealing with hub command arguments in a type safe manner, and also allows for each
argument to be cleaned up properly when the command is no longer needed.

This also fixes issues with parse errors for certain types, and optional arguments (previously it was impossible
to tell the difference for an integer with value 0 or if no integer was given).
2012-03-12 01:21:08 +01:00
..
auth.c Fixed minor issues found with static code analyzis (Clang). 2012-01-13 01:31:34 +01:00
auth.h Cleaned up command parsing, added register, password, useradd, userdel, userinfo, usermod and userpass. 2010-11-12 18:03:39 +01:00
commands.c Fix bug #185 - Args of !commands lost/damaged. 2012-03-12 01:21:08 +01:00
commands.h Fix bug #185 - Args of !commands lost/damaged. 2012-03-12 01:21:08 +01:00
config.c Cleaned up boolean apply code. 2010-11-12 18:03:39 +01:00
config.h Added XML file for configurations. 2010-04-07 17:26:27 +02:00
config.pl Do not use C macros for configuration files. 2010-04-15 19:49:23 +02:00
config.xml Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
eventid.h Fixes to shutdown... 2009-08-03 23:59:02 +02:00
eventqueue.c Rework logging code to be able to turn it off completely. 2009-07-26 01:38:38 +02:00
eventqueue.h Reorganized sources slightly. 2009-07-25 20:05:27 +02:00
gen_config.c Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
gen_config.h Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
hub.c Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
hub.h Added a chat history plugin. 2012-01-03 23:22:41 +01:00
hubevent.c Remove the configuration options 'file_motd' and 'file_rules'. Use mod_welcome instead. 2011-12-21 14:44:37 +01:00
hubevent.h Fix bug #108: share limits can be avoided. 2010-02-07 23:08:04 +01:00
hubio.c Added lots of new asserts which should trigger in case we double delete a ADC message. 2010-02-15 19:03:19 +01:00
hubio.h Various fixes for epoll handling without libevent. 2010-01-19 17:52:58 +01:00
inf.c Update copyright notices and added licenses to files that were missing it. 2011-12-19 10:54:47 +01:00
inf.h Cleanup reference adc message reference counting somewhat. 2010-02-16 20:51:10 +01:00
main.c Windows fixes. 2011-02-05 17:11:23 +01:00
netevent.c Removed the PLUGIN_SUPPORT code, since plugin support is now mandatory. 2011-12-21 10:48:37 +01:00
netevent.h Various fixes for epoll handling without libevent. 2010-01-19 17:52:58 +01:00
plugincallback.c Fix bug #180 - Crash after signal SIGHUP. 2012-01-19 02:58:20 +01:00
plugincallback.h Added support for dynamic commands. 2011-12-09 10:29:50 +01:00
plugininvoke.c Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
plugininvoke.h Added a chat only hub plugin that disables searching and connection setup. 2012-01-09 20:58:19 +01:00
pluginloader.c Fix bug #180 - Crash after signal SIGHUP. 2012-01-19 02:58:20 +01:00
pluginloader.h Added support for dynamic commands. 2011-12-09 10:29:50 +01:00
probe.c Fix for bug #166 - TLS crash. 2011-11-29 10:19:43 +01:00
probe.h More work on epoll. 2010-01-17 23:00:28 +01:00
route.c Many Visual C++ compile warnings and errors fixed. 2011-01-03 00:03:07 +01:00
route.h Renamed all "struct user" to hub_user in order to resolve a naming conflict on OpenWRT. 2009-07-26 01:47:17 +02:00
user.c Don't print warnings about known extensions that don't affect the hub at all (DHT0). 2011-11-30 14:14:36 +01:00
user.h Added support for dynamic commands. 2011-12-09 10:29:50 +01:00
usermanager.c Cleaned up the credentials handling, and made it ready for plugins. 2010-07-12 19:05:50 +02:00
usermanager.h Enable the statistics timer again, so that !stats provide up to date network statistics. 2010-01-23 00:43:38 +01:00