# List of constructors for libvirt

## Type unsigned int:

virDomainGetID

## Type unsigned long:

virDomainGetMaxMemory

## Type unsigned long long:

virNodeGetFreeMemory

## Type virConnectPtr:

virConnectOpen
virConnectOpenAuth
virConnectOpenReadOnly
virDomainGetConnect
virNetworkGetConnect

## Type virDomainPtr:

virDomainCreateLinux
virDomainDefineXML
virDomainLookupByID
virDomainLookupByName
virDomainLookupByUUID
virDomainLookupByUUIDString
virDomainMigrate

## Type virErrorPtr:

virConnGetLastError
virGetLastError

## Type virNetworkPtr:

virNetworkCreateXML
virNetworkDefineXML
virNetworkLookupByName
virNetworkLookupByUUID
virNetworkLookupByUUIDString

### main menu

- Home
- API Menu
- C code examples
- Recent Changes

### related links

- Mail archive
- Open bugs
- virt-manager
- Perl bindings
- OCaml bindings
- Ruby bindings
- Xen project

Graphics and design by Diana Fong