about summary refs log tree commit diff
path: root/src/nm-dhcp6-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-dhcp6-config.h')
-rw-r--r--src/nm-dhcp6-config.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/nm-dhcp6-config.h b/src/nm-dhcp6-config.h
index eaca61b1..c018d97f 100644
--- a/src/nm-dhcp6-config.h
+++ b/src/nm-dhcp6-config.h
@@ -21,10 +21,7 @@
 #ifndef __NETWORKMANAGER_DHCP6_CONFIG_H__
 #define __NETWORKMANAGER_DHCP6_CONFIG_H__
 
-#include <glib.h>
-#include <glib-object.h>
-
-#include "nm-types.h"
+#include "nm-exported-object.h"
 
 #define NM_TYPE_DHCP6_CONFIG            (nm_dhcp6_config_get_type ())
 #define NM_DHCP6_CONFIG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DHCP6_CONFIG, NMDhcp6Config))
@@ -34,11 +31,11 @@
 #define NM_DHCP6_CONFIG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DHCP6_CONFIG, NMDhcp6ConfigClass))
 
 struct _NMDhcp6Config {
-	GObject parent;
+	NMExportedObject parent;
 };
 
 typedef struct {
-	GObjectClass parent;
+	NMExportedObjectClass parent;
 
 } NMDhcp6ConfigClass;
 
@@ -48,16 +45,11 @@ GType nm_dhcp6_config_get_type (void);
 
 NMDhcp6Config *nm_dhcp6_config_new (void);
 
-const char *nm_dhcp6_config_get_dbus_path (NMDhcp6Config *config);
-
-void nm_dhcp6_config_add_option (NMDhcp6Config *config,
-                                 const char *key,
-                                 const char *option);
-
-void nm_dhcp6_config_reset (NMDhcp6Config *config);
+void nm_dhcp6_config_set_options (NMDhcp6Config *config,
+                                  GHashTable *options);
 
 const char *nm_dhcp6_config_get_option (NMDhcp6Config *config, const char *option);
 
-GSList *nm_dhcp6_config_list_options (NMDhcp6Config *self);
+GVariant *nm_dhcp6_config_get_options (NMDhcp6Config *self);
 
 #endif /* __NETWORKMANAGER_DHCP6_CONFIG_H__ */