diff options
author | dimitri staessens <[email protected]> | 2017-09-19 16:48:54 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-09-19 16:48:54 +0000 |
commit | acd8235533d63a7e4dd4d1b5bdb17423d4b6fd75 (patch) | |
tree | 195bbf3a1aa1923394410db072f72c0b38aede8c /include | |
parent | c0bbd7e2184f51038ecbaebfa3b21e5c52d35239 (diff) | |
parent | 1dcef3957393c0500b81d93ffacf573e78be9a51 (diff) | |
download | ouroboros-acd8235533d63a7e4dd4d1b5bdb17423d4b6fd75.tar.gz ouroboros-acd8235533d63a7e4dd4d1b5bdb17423d4b6fd75.zip |
Merged in dstaesse/ouroboros/be-dht-async (pull request #598)
ipcpd: Enroll DHT when creating dt connection
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/notifier.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ouroboros/notifier.h b/include/ouroboros/notifier.h index 7a70f95f..037d5daf 100644 --- a/include/ouroboros/notifier.h +++ b/include/ouroboros/notifier.h @@ -23,7 +23,8 @@ #ifndef OUROBOROS_LIB_NOTIFIER_H #define OUROBOROS_LIB_NOTIFIER_H -typedef void (* notifier_fn_t)(int event, +typedef void (* notifier_fn_t)(void * self, + int event, const void * o); int notifier_init(void); @@ -33,7 +34,8 @@ void notifier_fini(void); void notifier_event(int event, const void * o); -int notifier_reg(notifier_fn_t callback); +int notifier_reg(notifier_fn_t callback, + void * obj); void notifier_unreg(notifier_fn_t callback); |