GVirSandboxConfigServiceSystemd

GVirSandboxConfigServiceSystemd — ServiceSystemd sandbox configuration details

Synopsis

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

struct              GVirSandboxConfigServiceSystemd;
struct              GVirSandboxConfigServiceSystemdClass;
GVirSandboxConfigServiceSystemd * gvir_sandbox_config_service_systemd_new
                                                        (const gchar *name);
const gchar *       gvir_sandbox_config_service_systemd_get_boot_target
                                                        (GVirSandboxConfigServiceSystemd *config);
void                gvir_sandbox_config_service_systemd_set_boot_target
                                                        (GVirSandboxConfigServiceSystemd *config,
                                                         const gchar *target);

Object Hierarchy

  GObject
   +----GVirSandboxConfig
         +----GVirSandboxConfigService
               +----GVirSandboxConfigServiceSystemd

Description

Provides an object to store configuration details for a systemd service config

The GVirSandboxConfigServiceSystemd object extends GVirSandboxConfigService to store the extra information required to setup a service sandbox with systemd

Details

struct GVirSandboxConfigServiceSystemd

struct GVirSandboxConfigServiceSystemd;

struct GVirSandboxConfigServiceSystemdClass

struct GVirSandboxConfigServiceSystemdClass {
    GVirSandboxConfigServiceClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_config_service_systemd_new ()

GVirSandboxConfigServiceSystemd * gvir_sandbox_config_service_systemd_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_systemd_get_boot_target ()

const gchar *       gvir_sandbox_config_service_systemd_get_boot_target
                                                        (GVirSandboxConfigServiceSystemd *config);

Returns :

the boot target name

gvir_sandbox_config_service_systemd_set_boot_target ()

void                gvir_sandbox_config_service_systemd_set_boot_target
                                                        (GVirSandboxConfigServiceSystemd *config,
                                                         const gchar *target);

See Also

GVirSandboxConfigServiceSystemd