![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
NMDHCP6Config; #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);
GObject * nm_dhcp6_config_new (DBusGConnection *connection, const char *object_path);
Creates a new NMDHCP6Config.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new configuration |
GHashTable * nm_dhcp6_config_get_options (NMDHCP6Config *config);
Gets all the options contained in the configuration.
|
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. |
const char * nm_dhcp6_config_get_one_option (NMDHCP6Config *config, const char *option);
Gets one option by option name.
|
a NMDHCP6Config |
|
the option to retrieve |
Returns : |
the configuration option's value. This is the internal string used by the configuration, and must not be modified. |