• D
    Pull definition of structs out of vircgroup.c to vircgrouppriv.h · f0e5f924
    Daniel P. Berrange 提交于
    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: NDaniel P. Berrange <berrange@redhat.com>
    f0e5f924
vircgroup.c 56.8 KB