]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt: introduce libvirt/libvirt-common.h.in
authorErik Skultety <eskultet@redhat.com>
Thu, 26 Nov 2015 14:02:49 +0000 (15:02 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 30 Nov 2015 08:36:19 +0000 (09:36 +0100)
commita20b62374816e9115830e9c69faa644e5b7129bb
treee65bb89bca4b3efd3d646ec8df0adb6da84c5496
parent06198b9c73ff07d70560c4d72f3d73f00e1ef9fa
libvirt: introduce libvirt/libvirt-common.h.in

As it turned out, we need to share some enums and declarations between
libvirt.h and libvirt-admin.h, but since our policy forbids direct includes of
libvirt*.h, there has to be some header exempt from this rule. This patch moves
the relevant part of code from libvirt.h.in to libvirt-common.h.in. Moreover,
since there is no need to have libvirt.h generated anymore, introduce a new
header libvirt.h which was previosly ignored from git and make the common
header ignored and generated instead.
.gitignore
cfg.mk
configure.ac
docs/Makefile.am
include/libvirt/Makefile.am
include/libvirt/libvirt-admin.h
include/libvirt/libvirt-common.h.in [moved from include/libvirt/libvirt.h.in with 61% similarity]
include/libvirt/libvirt-host.h
include/libvirt/libvirt.h [new file with mode: 0644]