]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
domifaddr: Implement the public APIs
authorNehal J Wani <nehaljw.kkd1@gmail.com>
Sun, 25 Jan 2015 18:38:46 +0000 (00:08 +0530)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 17 Mar 2015 15:15:38 +0000 (15:15 +0000)
commit5b5242a7cba7a851c748e1c8645e5a564ad867b0
treed37b5347f1ee27f5c1964bbe3f3dcaebd68271de
parentb980c34dec5aac059f1ac990edd30aaca1a2949a
domifaddr: Implement the public APIs

Define helper function virDomainInterfaceFree, which allows
the upper layer application to free the domain interface object
conveniently.

The API is going to provide multiple methods by flags, e.g.
  * Query guest agent
  * Parse DHCP lease file

include/libvirt/libvirt-domain.h
  * Define virDomainInterfaceAddresses, virDomainInterfaceFree
  * Define structs virDomainInterface, virDomainIPAddress

src/driver-hypervisor.h:
  * Define domainInterfaceAddresses

src/libvirt-domain.c:
  * Implement virDomainInterfaceAddresses
  * Implement virDomainInterfaceFree

src/libvirt_public.syms:
  * Export the new symbols

Signed-off-by: Nehal J Wani <nehaljw.kkd1@gmail.com>
include/libvirt/libvirt-domain.h
src/driver-hypervisor.h
src/libvirt-domain.c
src/libvirt_public.syms