mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virclosecallbacks.h: Reformat header to contemporary style
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
58404f7871
commit
66a014bc09
@ -27,14 +27,20 @@ typedef struct _virCloseCallbacks virCloseCallbacks;
|
||||
typedef void (*virCloseCallback)(virDomainObj *vm,
|
||||
virConnectPtr conn,
|
||||
void *opaque);
|
||||
virCloseCallbacks *virCloseCallbacksNew(void);
|
||||
int virCloseCallbacksSet(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm,
|
||||
virConnectPtr conn,
|
||||
virCloseCallback cb);
|
||||
int virCloseCallbacksUnset(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm,
|
||||
virCloseCallback cb);
|
||||
|
||||
virCloseCallbacks *
|
||||
virCloseCallbacksNew(void);
|
||||
|
||||
int
|
||||
virCloseCallbacksSet(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm,
|
||||
virConnectPtr conn,
|
||||
virCloseCallback cb);
|
||||
int
|
||||
virCloseCallbacksUnset(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm,
|
||||
virCloseCallback cb);
|
||||
|
||||
virCloseCallback
|
||||
virCloseCallbacksGet(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm,
|
||||
@ -42,6 +48,7 @@ virCloseCallbacksGet(virCloseCallbacks *closeCallbacks,
|
||||
virConnectPtr
|
||||
virCloseCallbacksGetConn(virCloseCallbacks *closeCallbacks,
|
||||
virDomainObj *vm);
|
||||
|
||||
void
|
||||
virCloseCallbacksRun(virCloseCallbacks *closeCallbacks,
|
||||
virConnectPtr conn,
|
||||
|
Loading…
Reference in New Issue
Block a user