NMDHCP6Config

NMDHCP6Config

Synopsis

                    NMDHCP6Config;
                    NMDHCP6ConfigClass;
#define             NM_DHCP6_CONFIG_OPTIONS
GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
                                                         const char *object_path);
GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);
const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
                                                         const char *option);

Object Hierarchy

  GObject
   +----NMObject
         +----NMDHCP6Config

Implemented Interfaces

NMDHCP6Config implements GInitable and GAsyncInitable.

Properties

  "options"                  GHashTable*           : Read

Description

Details

NMDHCP6Config

typedef struct _NMDHCP6Config NMDHCP6Config;


NMDHCP6ConfigClass

typedef struct {
	NMObjectClass parent;

	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMDHCP6ConfigClass;


NM_DHCP6_CONFIG_OPTIONS

#define NM_DHCP6_CONFIG_OPTIONS "options"


nm_dhcp6_config_new ()

GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
                                                         const char *object_path);

Creates a new NMDHCP6Config.

connection :

the DBusGConnection

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full]

nm_dhcp6_config_get_options ()

GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);

Gets all the options contained in the configuration.

config :

a NMDHCP6Config

Returns :

the GHashTable containing strings for keys and values. This is the internal copy used by the configuration, and must not be modified. [transfer none][element-type utf8 GObject.Value]

nm_dhcp6_config_get_one_option ()

const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
                                                         const char *option);

Gets one option by option name.

config :

a NMDHCP6Config

option :

the option to retrieve

Returns :

the configuration option's value. This is the internal string used by the configuration, and must not be modified.

Property Details

The "options" property

  "options"                  GHashTable*           : Read

The GHashTable containing options of the configuration.

Type: GLib.HashTable(utf8,GObject.Value)