summaryrefslogtreecommitdiff
path: root/src/dhcp/nm-dhcp-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp/nm-dhcp-utils.h')
-rw-r--r--src/dhcp/nm-dhcp-utils.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/src/dhcp/nm-dhcp-utils.h b/src/dhcp/nm-dhcp-utils.h
index ecb91809be..24e465c814 100644
--- a/src/dhcp/nm-dhcp-utils.h
+++ b/src/dhcp/nm-dhcp-utils.h
@@ -8,21 +8,20 @@
#include <stdlib.h>
-#include "nm-ip4-config.h"
-#include "nm-ip6-config.h"
-
-NMIP4Config *nm_dhcp_utils_ip4_config_from_options (struct _NMDedupMultiIndex *multi_idx,
- int ifindex,
- const char *iface,
- GHashTable *options,
- guint32 route_table,
- guint32 route_metric);
-
-NMIP6Config *nm_dhcp_utils_ip6_config_from_options (struct _NMDedupMultiIndex *multi_idx,
- int ifindex,
- const char *iface,
- GHashTable *options,
- gboolean info_only);
+#include "nm-l3-config-data.h"
+
+NML3ConfigData *nm_dhcp_utils_ip4_config_from_options (struct _NMDedupMultiIndex *multi_idx,
+ int ifindex,
+ const char *iface,
+ GHashTable *options,
+ guint32 route_table,
+ guint32 route_metric);
+
+NML3ConfigData *nm_dhcp_utils_ip6_config_from_options (struct _NMDedupMultiIndex *multi_idx,
+ int ifindex,
+ const char *iface,
+ GHashTable *options,
+ gboolean info_only);
NMPlatformIP6Address nm_dhcp_utils_ip6_prefix_from_options (GHashTable *options);