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

[libvirt] [libvirt-php PATCH 00/13] Refactor into smaller components



As per [1], this patch series splits up the large libvirt-php.c into
components that (attempts) to resemble the structure of the libvirt
project. Each patch successive patch was compile-tested while the whole
series was verified with "make check" and a simple custom written PHP
script.

Dawid Zamirski (13):
  Move PHP version compat macros to utils.h
  Update AUTHORS file
  Do not reuse PHPFUNC macro definition
  Split up the bindings for libvirt connection API
  Split up the bindings for libvirt node API
  Split up the bindings for libvirt stream API
  Split up the bindings for libvirt domain API
  Split up the bindings for libvirt network API
  Split up the bindings for libvirt storage API
  Split up the bindings for libvirt snapshot API
  Split up the bindings for libvirt nodedev API
  Split up the bindings for libvirt NWFilter API
  Fix is_local_connection implementation.

 AUTHORS                  |   29 +-
 src/Makefile.am          |   11 +-
 src/libvirt-connection.c |  885 +++++
 src/libvirt-connection.h |   83 +
 src/libvirt-domain.c     | 3339 +++++++++++++++++
 src/libvirt-domain.h     |  208 ++
 src/libvirt-network.c    |  586 +++
 src/libvirt-network.h    |   73 +
 src/libvirt-node.c       |  304 ++
 src/libvirt-node.h       |   25 +
 src/libvirt-nodedev.c    |  339 ++
 src/libvirt-nodedev.h    |   54 +
 src/libvirt-nwfilter.c   |  414 +++
 src/libvirt-nwfilter.h   |   66 +
 src/libvirt-php.c        | 9282 ++++------------------------------------------
 src/libvirt-php.h        |  492 +--
 src/libvirt-snapshot.c   |  243 ++
 src/libvirt-snapshot.h   |   58 +
 src/libvirt-storage.c    | 1129 ++++++
 src/libvirt-storage.h    |  138 +
 src/libvirt-stream.c     |  229 ++
 src/libvirt-stream.h     |   39 +
 src/sockets.c            |   47 +-
 src/sockets.h            |    4 -
 src/util.c               |    3 -
 src/util.h               |  189 +-
 src/vncfunc.c            |  141 +-
 src/vncfunc.h            |    4 -
 28 files changed, 9366 insertions(+), 9048 deletions(-)
 create mode 100644 src/libvirt-connection.c
 create mode 100644 src/libvirt-connection.h
 create mode 100644 src/libvirt-domain.c
 create mode 100644 src/libvirt-domain.h
 create mode 100644 src/libvirt-network.c
 create mode 100644 src/libvirt-network.h
 create mode 100644 src/libvirt-node.c
 create mode 100644 src/libvirt-node.h
 create mode 100644 src/libvirt-nodedev.c
 create mode 100644 src/libvirt-nodedev.h
 create mode 100644 src/libvirt-nwfilter.c
 create mode 100644 src/libvirt-nwfilter.h
 create mode 100644 src/libvirt-snapshot.c
 create mode 100644 src/libvirt-snapshot.h
 create mode 100644 src/libvirt-storage.c
 create mode 100644 src/libvirt-storage.h
 create mode 100644 src/libvirt-stream.c
 create mode 100644 src/libvirt-stream.h

-- 
2.13.3


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