| Libvirt-sandbox Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <libvirt-sandbox/libvirt-sandbox.h> #define GVIR_SANDBOX_TYPE_CONFIG_MOUNT_HANDLE struct GVirSandboxConfigMount; struct GVirSandboxConfigMountClass; const gchar * gvir_sandbox_config_mount_get_target (GVirSandboxConfigMount *config); void gvir_sandbox_config_mount_add_include (GVirSandboxConfigMount *config,const gchar *srcpath,const gchar *dstpath); GHashTable * gvir_sandbox_config_mount_get_includes (GVirSandboxConfigMount *config);
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 ())
struct GVirSandboxConfigMountClass {
GObjectClass parent_class;
gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};
const gchar * gvir_sandbox_config_mount_get_target
(GVirSandboxConfigMount *config);
Retrieves the target directory for the custom mount
|
the sandbox mount config. [transfer none] |
Returns : |
the target directory path. [transfer none] |
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.
|
the sandbox mount config. [transfer none] |
|
a file on the host. [transfer none] |
|
a path within the mount. [transfer none] |
GHashTable * gvir_sandbox_config_mount_get_includes
(GVirSandboxConfigMount *config);
Retrieves the list of all include files
|
the sandbox mount config. [transfer none] |
Returns : |
the include files. [transfer none][element-type filename filename] |