]> xenbits.xensource.com Git - libvirt.git/commit
Add libvirt-admin library
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 15 Apr 2015 14:16:24 +0000 (16:16 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Jun 2015 11:46:20 +0000 (13:46 +0200)
commit55e0c840afde18f4b2bfde8b3436505442a9631c
tree13fe50cb6e72ead02b24d13b4df685bf59933f2a
parent653acbfd62c00f8242470fad9aa258f9f17c042b
Add libvirt-admin library

Initial scratch of the admin library.  It has its own virAdmConnectPtr
that inherits from virAbstractConnectPtr and thus trivially supports
error reporting.

There's pkg-config file added and spec-file adjusted as well.

Since the library should be "minimalistic" and not depend on any other
library, the list of files is especially crafted for it.  Most of them
could've been put to it's own sub-libraries that would be LIBADD'd to
libvirt_util, libvirt_net_rpc and libvirt_setuid_rpc_client to minimize
the number of object files being built, but that's a refactoring that
isn't the orginal aim of this commit.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
14 files changed:
Makefile.am
cfg.mk
configure.ac
include/libvirt/Makefile.am
include/libvirt/libvirt-admin.h [new file with mode: 0644]
libvirt-admin.pc.in [new file with mode: 0644]
libvirt.spec.in
po/POTFILES.in
src/Makefile.am
src/datatypes.c
src/datatypes.h
src/internal.h
src/libvirt-admin.c [new file with mode: 0644]
src/libvirt_admin.syms [new file with mode: 0644]