GVirSandboxConfigMountGuestBind

GVirSandboxConfigMountGuestBind — Bindsystem attachment configuration details

Synopsis

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

struct              GVirSandboxConfigMountGuestBind;
struct              GVirSandboxConfigMountGuestBindClass;
GVirSandboxConfigMountGuestBind * gvir_sandbox_config_mount_guest_bind_new
                                                        (const gchar *source,
                                                         const gchar *targetdir);

Object Hierarchy

  GObject
   +----GVirSandboxConfigMount
         +----GVirSandboxConfigMountFile
               +----GVirSandboxConfigMountGuestBind

Description

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

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

Details

struct GVirSandboxConfigMountGuestBind

struct GVirSandboxConfigMountGuestBind;

struct GVirSandboxConfigMountGuestBindClass

struct GVirSandboxConfigMountGuestBindClass {
    GVirSandboxConfigMountFileClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_config_mount_guest_bind_new ()

GVirSandboxConfigMountGuestBind * gvir_sandbox_config_mount_guest_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]