summary refs log tree commit diff
path: root/src/nm-dhcp4-config.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-01-20 16:26:51 +0100
committerMichael Biebl <biebl@debian.org>2016-01-20 16:26:51 +0100
commit494f296a3baab08522617b24b1f126d8f9a17502 (patch)
treec8ef32fb0dd1c4ff35a0b38e787abb58692de0cd /src/nm-dhcp4-config.h
parent54f6333410ffd570e62717d9e77c5c987175e397 (diff)
Imported Upstream version 1.1.90 upstream/1.1.90
Diffstat (limited to 'src/nm-dhcp4-config.h')
-rw-r--r--src/nm-dhcp4-config.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/nm-dhcp4-config.h b/src/nm-dhcp4-config.h
index 227d4481..080e28de 100644
--- a/src/nm-dhcp4-config.h
+++ b/src/nm-dhcp4-config.h
@@ -21,10 +21,7 @@
 #ifndef __NETWORKMANAGER_DHCP4_CONFIG_H__
 #define __NETWORKMANAGER_DHCP4_CONFIG_H__
 
-#include <glib.h>
-#include <glib-object.h>
-
-#include "nm-types.h"
+#include "nm-exported-object.h"
 
 #define NM_TYPE_DHCP4_CONFIG            (nm_dhcp4_config_get_type ())
 #define NM_DHCP4_CONFIG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DHCP4_CONFIG, NMDhcp4Config))
@@ -34,11 +31,11 @@
 #define NM_DHCP4_CONFIG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DHCP4_CONFIG, NMDhcp4ConfigClass))
 
 struct _NMDhcp4Config {
-	GObject parent;
+	NMExportedObject parent;
 };
 
 typedef struct {
-	GObjectClass parent;
+	NMExportedObjectClass parent;
 
 } NMDhcp4ConfigClass;
 
@@ -48,16 +45,11 @@ GType nm_dhcp4_config_get_type (void);
 
 NMDhcp4Config *nm_dhcp4_config_new (void);
 
-const char *nm_dhcp4_config_get_dbus_path (NMDhcp4Config *config);
-
-void nm_dhcp4_config_add_option (NMDhcp4Config *config,
-                                 const char *key,
-                                 const char *option);
-
-void nm_dhcp4_config_reset (NMDhcp4Config *config);
+void nm_dhcp4_config_set_options (NMDhcp4Config *config,
+                                  GHashTable *options);
 
 const char *nm_dhcp4_config_get_option (NMDhcp4Config *config, const char *option);
 
-GSList *nm_dhcp4_config_list_options (NMDhcp4Config *config);
+GVariant *nm_dhcp4_config_get_options (NMDhcp4Config *config);
 
 #endif /* __NETWORKMANAGER_DHCP4_CONFIG_H__ */