[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-php 0/1] Added many apis for storagepool



Hi all:

This patch added the followings for storagepool:

  libvirt_storagepool_get_uuid_string
  libvirt_storagepool_get_name
  libvirt_storagepool_lookup_by_uuid_string
  libvirt_storagepool_get_xml_desc
  libvirt_storagepool_define_xml
  libvirt_storagepool_undefine
  libvirt_storagepool_create
  libvirt_storagepool_destroy
  libvirt_storagepool_is_active
  libvirt_storagepool_get_volume_count
  libvirt_storagepool_refresh
  libvirt_storagepool_set_autostart
  libvirt_storagepool_get_autostart

These functions were taken from my own branch of original php-libvirt,
with some modification, and litte tests.

I've put the function prototype in git log, but it seems not a good idea.
Maybe I should provie the documents as well.

In my original branch, I've extended php-libvirt a lot with their own documents.
But I'm not able to simply merge it into libvirt-php: there're too many functions
, some designs are really problematical, libvirt-php have indent the source.
The documents may be not welly written, some statment don't looks like native
English, since I'm not English speaker.

I'm tring to find a way to move the source to into libvirt-php,
currently it was copy & paste with some adjustment.

Lyre (1):
  storagepool: added apis for control and query

 src/libvirt.c     |  226 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/php_libvirt.h |   13 +++
 2 files changed, 239 insertions(+), 0 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]