GVirSandboxConfigServiceGeneric

GVirSandboxConfigServiceGeneric — ServiceGeneric sandbox configuration details

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxConfig
        ╰── GVirSandboxConfigService
            ╰── GVirSandboxConfigServiceGeneric

Includes

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

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

Functions

gvir_sandbox_config_service_generic_new ()

GVirSandboxConfigServiceGeneric *
gvir_sandbox_config_service_generic_new
                               (const gchar *name);

Create a new service application sandbox configuration

Parameters

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

Parameters

config

the sandbox config.

[transfer none]

argv

the command path and arguments.

[transfer none][array zero-terminated=1]

Types and Values

struct GVirSandboxConfigServiceGeneric

struct GVirSandboxConfigServiceGeneric;

struct GVirSandboxConfigServiceGenericClass

struct GVirSandboxConfigServiceGenericClass {
    GVirSandboxConfigServiceClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxConfigServiceGenericPrivate

typedef struct _GVirSandboxConfigServiceGenericPrivate GVirSandboxConfigServiceGenericPrivate;

See Also

GVirSandboxConfigServiceGeneric