Add a PKG_PLUGIN_HOOK_EVENT to receive all the event through a plugin
modified libpkg/pkg.h
@@ -312,6 +312,7 @@ typedef enum _pkg_plugin_hook_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -43,6 +43,7 @@ pkg_event_register(pkg_event_cb cb, void *data)
|
|
|
|
|
|
| + | |
|
|
|
|
|