func (c *VirConnection) DomainEventDeregister(callbackId int) error { // Deregister the callback if i := int(C.virConnectDomainEventDeregisterAny(c.ptr, C.int(callbackId))); i != 0 { return GetLastError() } return nil }
func (c *VirConnection) DomainEventDeregister(callbackId int) int { // Deregister the callback return int(C.virConnectDomainEventDeregisterAny(c.ptr, C.int(callbackId))) }
func ConnectDomainEventDeregister(conn VirConnection, callbackid int) { C.virConnectDomainEventDeregisterAny(conn.ptr, C.int(callbackid)) }
func (c *VirConnection) DomainEventDeregister(callbackId int) int { // Deregister the callback ret := int(C.virConnectDomainEventDeregisterAny(c.ptr, C.int(callbackId))) delete(c.event_cbs, callbackId) return ret }