qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 05/27] slirp: add callbacks for timer


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH 05/27] slirp: add callbacks for timer
Date: Sun, 27 Jan 2019 01:01:48 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Applied too, but

Marc-André Lureau, le jeu. 17 janv. 2019 15:43:37 +0400, a ecrit:
> +    /* Create a new timer with the given callback and opaque data */
> +    void *(*timer_new)(SlirpTimerCb cb, void *opaque);
> +    /* Remove and free a timer */
> +    void (*timer_free)(void *timer);
> +    /* Modify a timer to expire at @expire_time */
> +    void (*timer_mod)(void *timer, int64_t expire_time);

I'd say we will want to make the API use an opaque type for timers, for
typechecking.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]