GVirSandboxConfigMountHostBind

GVirSandboxConfigMountHostBind — Bindsystem attachment configuration details

Synopsis

#include <libvirt-sandbox/libvirt-sandbox.h>

struct              GVirSandboxConfigMountHostBind;
struct              GVirSandboxConfigMountHostBindClass;
GVirSandboxConfigMountHostBind * gvir_sandbox_config_mount_host_bind_new
                                                        (const gchar *source,
                                                         const gchar *targetdir);

Object Hierarchy

  GObject
   +----GVirSandboxConfigMount
         +----GVirSandboxConfigMountFile
               +----GVirSandboxConfigMountHostBind

Description

Provides an object to store information about a bindsystem attachment in the sandbox

The GVirSandboxConfigMount object stores information required to attach a host bindsystem to the application sandbox. The sandbox starts off with a complete view of the host bindsystem. This object allows a specific area of the host bindsystem to be hidden and replaced with alternate content.

Details

struct GVirSandboxConfigMountHostBind

struct GVirSandboxConfigMountHostBind;

struct GVirSandboxConfigMountHostBindClass

struct GVirSandboxConfigMountHostBindClass {
    GVirSandboxConfigMountFileClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_config_mount_host_bind_new ()

GVirSandboxConfigMountHostBind * gvir_sandbox_config_mount_host_bind_new
                                                        (const gchar *source,
                                                         const gchar *targetdir);

Create a new custom mount mapped to the directory targetdir

targetdir :

the target directory. [transfer none]

Returns :

a new sandbox mount object. [transfer full]