summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-19 16:48:54 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-19 16:48:54 +0000
commitacd8235533d63a7e4dd4d1b5bdb17423d4b6fd75 (patch)
tree195bbf3a1aa1923394410db072f72c0b38aede8c /include
parentc0bbd7e2184f51038ecbaebfa3b21e5c52d35239 (diff)
parent1dcef3957393c0500b81d93ffacf573e78be9a51 (diff)
downloadouroboros-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.h6
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);