func (f *VirNWFilter) GetName() (string, error) { name := C.virNWFilterGetName(f.ptr) if name == nil { return "", GetLastError() } return C.GoString(name), nil }
func (n *NetworkFilter) GetName() (string, error) { result := C.virNWFilterGetName(n.cptr) if result == nil { return "", GetLastError() } name := C.GoString(result) return name, nil }