| * (c) 2017-2019 Red Hat, Inc. |
| * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| * See the COPYING file in the top-level directory. |
| #ifndef QEMU_NET_ANNOUNCE_H |
| #define QEMU_NET_ANNOUNCE_H |
| #include "qapi/qapi-types-net.h" |
| AnnounceParameters params; |
| /* Returns: update the timer to the next time point */ |
| int64_t qemu_announce_timer_step(AnnounceTimer *timer); |
| /* Delete the underlying timer */ |
| void qemu_announce_timer_del(AnnounceTimer *timer); |
| * Reset the timer to the given parameters/type/notifier. |
| void qemu_announce_timer_reset(AnnounceTimer *timer, |
| AnnounceParameters *params, |
| void qemu_announce_self(AnnounceTimer *timer, AnnounceParameters *params); |