summaryrefslogtreecommitdiff
path: root/src/dhcp/nm-dhcp-utils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-07-23 10:36:04 +0200
committerThomas Haller <thaller@redhat.com>2020-08-05 16:46:39 +0200
commit9ff7606aeaa43f71c0e59f3539fa397742f8d759 (patch)
treedc41082e4a35c25bcb7d2fa461d0fc455a24c1ea /src/dhcp/nm-dhcp-utils.h
parentcfb497e61ba02e6939fbb011bd151e177c69e348 (diff)
downloadNetworkManager-th/l3cfg-5.tar.gz
core: use NML3ConfigData (WIP)th/l3cfg-5
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);