From 66a014bc09643f602617cf923cdc9e8d3ca7697b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 28 Apr 2022 10:52:05 +0200 Subject: [PATCH] virclosecallbacks.h: Reformat header to contemporary style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/hypervisor/virclosecallbacks.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/hypervisor/virclosecallbacks.h b/src/hypervisor/virclosecallbacks.h index 97be25b781..138e0eb689 100644 --- a/src/hypervisor/virclosecallbacks.h +++ b/src/hypervisor/virclosecallbacks.h @@ -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,