]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirt.h.in: add missing documentation for virConnectCloseFunc
authorClaudio Bley <cbley@av-test.de>
Wed, 30 Jan 2013 07:35:38 +0000 (08:35 +0100)
committerClaudio Bley <cbley@av-test.de>
Fri, 1 Feb 2013 07:47:04 +0000 (08:47 +0100)
include/libvirt/libvirt.h.in

index a634b3751ecedad4a79dbcea720cb830670e4a3b..b3cd490a0a6b5ee11e4a27a6cef66a74b42774e7 100644 (file)
@@ -1398,6 +1398,15 @@ typedef enum {
 # endif
 } virConnectCloseReason;
 
+/**
+ * virConnectCloseFunc:
+ * @conn: virConnect connection
+ * @reason: reason why the connection was closed (one of virConnectCloseReason)
+ * @opaque: opaque user data
+ *
+ * A callback function to be registered, and called when the connection
+ * is closed.
+ */
 typedef void (*virConnectCloseFunc)(virConnectPtr conn,
                                     int reason,
                                     void *opaque);