Re: [PATCH 07/10] events: Correct virEventAddTimeout docs

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

 



On Wed, Jun 15, 2011 at 09:23:16PM -0400, Cole Robinson wrote:
> 
> Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
> ---
>  src/util/event.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/util/event.c b/src/util/event.c
> index 4108221..bd781ec 100644
> --- a/src/util/event.c
> +++ b/src/util/event.c
> @@ -87,11 +87,11 @@ int virEventRemoveHandle(int watch) {
>  /**
>   * virEventAddTimeout: register a callback for a timer event
>   *
> - * @frequency: time between events in milliseconds
> + * @timeout: time between events in milliseconds
>   * @cb: callback to invoke when an event occurs
>   * @opaque: user data to pass to callback
>   *
> - * Setting frequency to -1 will disable the timer. Setting the frequency
> + * Setting timeout to -1 will disable the timer. Setting the timeout
>   * to zero will cause it to fire on every event loop iteration.
>   *
>   * returns -1 if the timer cannot be registered, a positive

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]