]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Pull definition of structs out of vircgroup.c to vircgrouppriv.h
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 28 Mar 2013 14:32:23 +0000 (14:32 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 16:35:31 +0000 (17:35 +0100)
commitf0e5f92434c1f628d9df9a8eb0e884de268c7fb4
treeca7d11debc75196e4d7e540c60edf27854886227
parentcfed9ad4fb28e268e1467a0071c2fbc0c0873969
Pull definition of structs out of vircgroup.c to vircgrouppriv.h

The definition of structs for cgroups are kept in vircgroup.c since
they are intended to be private from users of the API. To enable
effective testing, however, they need to be accessible. To address
the latter issue, without compronmising the former, this introduces
a new vircgrouppriv.h file to hold the struct definitions.

To prevent other files including this private header, it requires
that __VIR_CGROUP_ALLOW_INCLUDE_PRIV_H__ be defined before inclusion

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/Makefile.am
src/util/vircgroup.c
src/util/vircgrouppriv.h [new file with mode: 0644]