![]() |
![]() |
![]() |
Libvirt-sandbox Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GVirSandboxConfigServiceGenericGVirSandboxConfigServiceGeneric — ServiceGeneric sandbox configuration details |
#include <libvirt-sandbox/libvirt-sandbox.h> struct GVirSandboxConfigServiceGeneric; struct GVirSandboxConfigServiceGenericClass; GVirSandboxConfigServiceGeneric * gvir_sandbox_config_service_generic_new (const gchar *name
); void gvir_sandbox_config_service_generic_set_command (GVirSandboxConfigServiceGeneric *config
,gchar **argv
);
GObject +----GVirSandboxConfig +----GVirSandboxConfigService +----GVirSandboxConfigServiceGeneric
Provides an object to store configuration details for a generic service config
The GVirSandboxConfigServiceGeneric object extends GVirSandboxConfigService to store the extra information required to setup a service sandbox with generic
struct GVirSandboxConfigServiceGenericClass { GVirSandboxConfigServiceClass parent_class; gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; };
GVirSandboxConfigServiceGeneric * gvir_sandbox_config_service_generic_new
(const gchar *name
);
Create a new service application sandbox configuration
|
the sandbox name |
Returns : |
a new service sandbox config object. [transfer full] |
void gvir_sandbox_config_service_generic_set_command (GVirSandboxConfigServiceGeneric *config
,gchar **argv
);
Set the path of the command to be run and its arguments. The argv
should
be a NULL terminated list
|
the sandbox config. [transfer none] |
|
the command path and arguments. [transfer none][array zero-terminated=1] |