GVirSandboxConfigServiceGeneric

GVirSandboxConfigServiceGeneric — ServiceGeneric sandbox configuration details

Synopsis

#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);

Object Hierarchy

  GObject
   +----GVirSandboxConfig
         +----GVirSandboxConfigService
               +----GVirSandboxConfigServiceGeneric

Description

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

Details

struct GVirSandboxConfigServiceGeneric

struct GVirSandboxConfigServiceGeneric;

struct GVirSandboxConfigServiceGenericClass

struct GVirSandboxConfigServiceGenericClass {
    GVirSandboxConfigServiceClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_config_service_generic_new ()

GVirSandboxConfigServiceGeneric * gvir_sandbox_config_service_generic_new
                                                        (const gchar *name);

Create a new service application sandbox configuration

name :

the sandbox name

Returns :

a new service sandbox config object. [transfer full]

gvir_sandbox_config_service_generic_set_command ()

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

config :

the sandbox config. [transfer none]

argv :

the command path and arguments. [transfer none][array zero-terminated=1]

See Also

GVirSandboxConfigServiceGeneric