| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NMDHCP4Config; NMDHCP4ConfigClass; #define NM_DHCP4_CONFIG_OPTIONS GObject * nm_dhcp4_config_new (DBusGConnection *connection,const char *object_path); GHashTable * nm_dhcp4_config_get_options (NMDHCP4Config *config); const char * nm_dhcp4_config_get_one_option (NMDHCP4Config *config,const char *option);
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);
} NMDHCP4ConfigClass;
GObject * nm_dhcp4_config_new (DBusGConnection *connection,const char *object_path);
Creates a new NMDHCP4Config.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new configuration. [transfer full] |
GHashTable * nm_dhcp4_config_get_options (NMDHCP4Config *config);
Gets all the options contained in the configuration.
|
a NMDHCP4Config |
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] |
const char * nm_dhcp4_config_get_one_option (NMDHCP4Config *config,const char *option);
Gets one option by option name.
|
a NMDHCP4Config |
|
the option to retrieve |
Returns : |
the configuration option's value. This is the internal string used by the configuration, and must not be modified. |
"options" property"options" GHashTable* : Read
The GHashTable containing options of the configuration.
Type: GLib.HashTable(utf8,GObject.Value)