]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/wheel.h
*: Convert `struct event_master` to `struct event_loop`
[mirror_frr.git] / lib / wheel.h
index 8b4a831157014e2e0ce1bdb5d2d8406866360091..0d9ac10020720017e724df77f6ca26428bc50835 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
 
 struct timer_wheel {
        char *name;
-       struct event_master *master;
+       struct event_loop *master;
        int slots;
        long long curr_slot;
        unsigned int period;
@@ -66,7 +66,7 @@ struct timer_wheel {
  * and cause significant amount of time handling thread events instead
  * of running your code.
  */
-struct timer_wheel *wheel_init(struct event_master *master, int period,
+struct timer_wheel *wheel_init(struct event_loop *master, int period,
                               size_t slots,
                               unsigned int (*slot_key)(const void *),
                               void (*slot_run)(void *), const char *run_name);