libvirt.h.in: add missing documentation for virConnectCloseFunc

This commit is contained in:
Claudio Bley 2013-01-30 08:35:38 +01:00
parent 410b335d23
commit 4247e4e5c1

View 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);