Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- 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, -- 2.35.3