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:
Peter Krempa 2022-04-28 10:52:05 +02:00
parent 58404f7871
commit 66a014bc09

View File

@ -27,14 +27,20 @@ typedef struct _virCloseCallbacks virCloseCallbacks;
typedef void (*virCloseCallback)(virDomainObj *vm,
virConnectPtr conn,
void *opaque);
virCloseCallbacks *virCloseCallbacksNew(void);
int virCloseCallbacksSet(virCloseCallbacks *closeCallbacks,
virCloseCallbacks *
virCloseCallbacksNew(void);
int
virCloseCallbacksSet(virCloseCallbacks *closeCallbacks,
virDomainObj *vm,
virConnectPtr conn,
virCloseCallback cb);
int virCloseCallbacksUnset(virCloseCallbacks *closeCallbacks,
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,