Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- Starting from 5db7c799055c6ae9c4463f6cf4c88a35597d5d31 the ability to hook to private interfaces was removed, this commit restores this ability by introducing two new macros specifically for this.
- addHookPrePriv to add a pre-hook for private interface member
- addHookPostPriv to add a post-hook for private interface member
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
- 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>
|
|
- Plugins that want to make use of the HPMHooking must now include
"plugins/HPMHooking.h".
Signed-off-by: Haru <haru@dotalux.com>
|