Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GVirSandboxConfigMount ├── GVirSandboxConfigMountFile ╰── GVirSandboxConfigMountRam
Provides an object to store information about a filesystem attachment in the sandbox
The GVirSandboxConfigMount object stores information required to attach a host filesystem to the application sandbox. The sandbox starts off with a complete view of the host filesystem. This object allows a specific area of the host filesystem to be hidden and replaced with alternate content.
#define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HANDLE (gvir_sandbox_config_mount_handle_get_type ())
const gchar *
gvir_sandbox_config_mount_get_target (GVirSandboxConfigMount *config
);
Retrieves the target directory for the custom mount
void gvir_sandbox_config_mount_add_include (GVirSandboxConfigMount *config
,const gchar *srcpath
,const gchar *dstpath
);
Request that the file srcpath
from the host OS is to be copied
to dstpath
, relative to the target
path in the sandbox.
GHashTable *
gvir_sandbox_config_mount_get_includes
(GVirSandboxConfigMount *config
);
Retrieves the list of all include files
struct GVirSandboxConfigMountClass { GObjectClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; };
“target”
property“target” gchar *
The sandbox target directory.
Flags: Read / Write / Construct Only
Default value: NULL