summary refs log tree commit diff
path: root/src/core/nm-dhcp-config.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
committerMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
commit2f94dba7385fd0e0ef19a06eb4a2fcf6c43d7946 (patch)
treee2222f5577115985dd52044d2991253403cdd952 /src/core/nm-dhcp-config.h
parent88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (diff)
New upstream version 1.35.91 upstream/1.35.91
Diffstat (limited to 'src/core/nm-dhcp-config.h')
-rw-r--r--src/core/nm-dhcp-config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/nm-dhcp-config.h b/src/core/nm-dhcp-config.h
index 9e68f2fb..cae0e11a 100644
--- a/src/core/nm-dhcp-config.h
+++ b/src/core/nm-dhcp-config.h
@@ -18,16 +18,17 @@
     (G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_DHCP_CONFIG, NMDhcpConfigClass))
 
 #define NM_DHCP_CONFIG_OPTIONS "options"
+#define NM_DHCP_CONFIG_L3CD    "l3cd"
 
 typedef struct _NMDhcpConfigClass NMDhcpConfigClass;
 
 GType nm_dhcp_config_get_type(void);
 
-NMDhcpConfig *nm_dhcp_config_new(int addr_family);
+NMDhcpConfig *nm_dhcp_config_new(int addr_family, const NML3ConfigData *l3cd);
 
 int nm_dhcp_config_get_addr_family(NMDhcpConfig *self);
 
-void nm_dhcp_config_set_options(NMDhcpConfig *self, GHashTable *options);
+void nm_dhcp_config_set_lease(NMDhcpConfig *self, const NML3ConfigData *l3cd);
 
 const char *nm_dhcp_config_get_option(NMDhcpConfig *self, const char *option);