[libvirt] [PATCH v3 03/13] libvirt.h.in: add missing return doc for virEventRemoveHandleFunc

Claudio Bley cbley at av-test.de
Wed Jan 30 15:38:08 UTC 2013


Signed-off-by: Claudio Bley <cbley at av-test.de>
---
 include/libvirt/libvirt.h.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 08eab47..4222fe1 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -3533,6 +3533,8 @@ typedef void (*virEventUpdateHandleFunc)(int watch, int event);
  * If a virEventHandleFreeFunc was supplied when the handle was
  * registered, it will be invoked some time during, or after this
  * function call, when it is safe to release the user data.
+ *
+ * Returns -1 if the file handle was not registered, 0 upon success
  */
 typedef int (*virEventRemoveHandleFunc)(int watch);
 
-- 
1.7.9.5




More information about the libvir-list mailing list