]> xenbits.xensource.com Git - libvirt.git/commitdiff
events: Correct virEventAddTimeout docs
authorCole Robinson <crobinso@redhat.com>
Wed, 15 Jun 2011 23:35:19 +0000 (19:35 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 21 Jun 2011 14:08:47 +0000 (10:08 -0400)
src/util/event.c

index 41082217cf473f28a1e362a9f61f6aeb81b2806f..bd781eca335d9bdd8b0d98ba1340ccc882d48e12 100644 (file)
@@ -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