]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/pullwr.h
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / lib / pullwr.h
index 77ecf855b404d7ecdd9c5b4eff7262ac6756a562..ef2e01c04ede27f2f40522cccc64d0c1142fe8c5 100644 (file)
@@ -10,7 +10,7 @@
 #include <stdbool.h>
 #include <stdint.h>
 
-#include "thread.h"
+#include "frrevent.h"
 #include "stream.h"
 
 #ifdef __cplusplus
@@ -45,10 +45,10 @@ struct pullwr;
  * and released with pullwr_del().  This can be done from inside the callback,
  * the pullwr code holds no more references on it when calling err().
  */
-extern struct pullwr *_pullwr_new(struct thread_master *tm, int fd,
-               void *arg,
-               void (*fill)(void *, struct pullwr *),
-               void (*err)(void *, struct pullwr *, bool eof));
+extern struct pullwr *_pullwr_new(struct event_loop *tm, int fd, void *arg,
+                                 void (*fill)(void *, struct pullwr *),
+                                 void (*err)(void *, struct pullwr *,
+                                             bool eof));
 extern void pullwr_del(struct pullwr *pullwr);
 
 /* type-checking wrapper.  makes sure fill() and err() take a first argument