summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-05-08Fixed various issues pointed out by cppcheckHaru1-15/+13
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-8004/+8004
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added one level of indirection to all variables in pre-hook functionsHaru1-2/+3
- Previously, only scalar variables had their indirection level increased. Now pointers do as well (this allows users to override const pointers) Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-7268/+7268
2016-04-30Removed extra indirection level in HPMHooking post-hooksHaru1-4/+6
- The extra indirection level (necessary to override function arguments from a hook) isn't necessary in post-hooks, but only in pre-hooks. - This simplifies the syntax and code of post-hooks. Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru3-78/+39
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-0/+7094
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added type-checking for the addHookPre() and addHookPost() macrosHaru3-4/+38
- The macros will now throw a warning at compile time if a plugin is using a wrong function type for a pre or post hook. This avoids some very subtle, hard to detect, issues. - The macros now require 3 arguments instead of 2. Example: old code: addHookPre("ifname->function" my_hook); becomes: addHookPre(ifname, function, my_hook); Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Moved HPMHooking-related definitions to plugins/HPMHooking.hHaru4-1/+60
- Plugins that want to make use of the HPMHooking must now include "plugins/HPMHooking.h". Signed-off-by: Haru <haru@dotalux.com>
2016-04-27HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-25HPM Hooks UpdateHercules.ws3-6/+100
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-23HPM Hooks UpdateHaru3-114/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23HPM Hooks UpdateHaru3-17/+112
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-0/+352
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru4-13/+48
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 7)hemagx1-0/+1
Added private interface in lclif.p.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru4-235/+367
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 6)hemagx1-1/+2
Moved login clif code to lclif.c/lclif.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Updated GNU Make build system to support private headersHaru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-216/+216
Signed-off-by: Haru <haru@dotalux.com>
2016-04-04HPM Hooks UpdateHercules.ws5-665/+697
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-20Dropped typedef from DBMapHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Removed unnecessary typedefs from sql.hHaru1-0/+1
- Sql -> struct Sql - SqlStmt -> struct SqlStmt - SqlDataType -> enum SqlDataType This is expected to improve compile time, by removing #include cycles (and forward declaring instead) Signed-off-by: Haru <haru@dotalux.com>
2016-03-19HPM Hooks UpdateHercules.ws3-30/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-11HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-11Hardcore Parameters from constant database to avoid synchronize issues with ↵hemagx1-0/+4
source now defining new parameters in the constants.conf database is deprecated and should be defined in source instead
2016-03-10HPM Hooks UpdateHercules.ws3-32/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-03-06Added support for the textual "Job" field to the itemdb2sql converterHaru1-6/+109
Signed-off-by: Haru <haru@dotalux.com>
2016-02-28HPM Hooks UpdateHercules.ws1-20/+20
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-28Changed mob mode field to 32 bit, for future expansionHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-24HPM Hooks UpdateHercules.ws9-234/+426
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-23HPM Hooks UpdateHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-21HPM Hooks UpdateHercules.ws3-6/+68
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-20HPM Hooks UpdateHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-19Fix all known warnings from compiler flags -Wformat*Andrei Karas2-37/+37
Add all missing -Wformat flags into configure.
2016-02-17HPM Hooks UpdateHaru3-696/+696
2016-02-17Removed unnecessary typedefs from libconfigHaru1-5/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-02-17HPM Hooks UpdateHaru9-39/+39
2016-02-17HPM Hooks UpdateHaru9-0/+960
2016-02-17HPM Hooks UpdateHaru9-186/+186
2016-02-06HPM Hooks UpdateHercules.ws1-5/+5
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-06HPM Hooks UpdateHercules.ws9-0/+96
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-04HPM Hooks UpdateHercules.ws3-34/+66
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-02-05Merge pull request #993 from HerculesWS/mobdb2sqlAndrei Karas1-94/+463
Mob DB support for the db2sql plugin
2016-01-29Merge pull request #1108 from 4144/pcreconfigureHaru1-2/+2
Enable pcre by default in configure and show error if pcre missing.
2016-01-29Added modb2sql converter to the db2sql pluginHaru1-2/+306
Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Renamed some db2sql* plugin functions to itemdb2sql*Haru1-69/+141
Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Changed DB2SQL plugin to not cross-convert databasesHaru1-2/+7
- To convert a renewal database, compile the server and plugin as renewal, and to convert a pre-renewal database, compile both as pre-renewal. - This is a necessary evil, for future compatibility. Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Removed duplicate code from the db2sql pluginHaru1-36/+24
Signed-off-by: Haru <haru@dotalux.com>