o
    3b                     @   s   zd dl Z W n3 ey9 Z z'zd dlZ W n ey. Z zdeev r$eW Y dZ[ndZ[ww W Y dZ[ndZ[ww d dlZdd Zdd ZdS )    NzNo module namedc                 C   $   t | j|}|du rtd|S )zThis API is LXC specific, so it will only work with hypervisor
    connections to the LXC driver.
    
    Attaches the process to the control cgroups associated
    with the container @domain. Nz virDomainLxcEnterCGroup() failed)libvirtmod_lxcvirDomainLxcEnterCGroup_olibvirtlibvirtErrordomainflagsret r   -/usr/lib/python3/dist-packages/libvirt_lxc.pylxcEnterCGroup!   s   
r   c                 C   r   )aS  This API is LXC specific, so it will only work with hypervisor
    connections to the LXC driver.
    
    Open the namespaces associated with the container @domain
    and return a list of file descriptors associated with the
    container.
    
    The returned file descriptors are intended to be used with
    the setns() system call. Nz"virDomainLxcOpenNamespace() failed)r   virDomainLxcOpenNamespacer   r   r   r   r   r   r   lxcOpenNamespace,   s   

r   )	r   ImportErrorlib_ecygvirtmod_lxccyg_estrr   r   r   r   r   r   r   <module>   s    