summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-10-26 06:31:49 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-10-26 08:08:35 +0900
commitbe615f7c14a4f2b1233f08ffe19c882bbea43327 (patch)
tree7a0db535607df42c327c4b68a14b2ddd73bc38fc /src/systemd
parent4a7b90f8a2dfa42431eec55422348f047be955d4 (diff)
downloadsystemd-be615f7c14a4f2b1233f08ffe19c882bbea43327.tar.gz
sd-dhcp-client: introduce sd_dhcp_client_attach_device()
It will be used later.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-dhcp-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h
index 6a863794a4..b200f17cbd 100644
--- a/src/systemd/sd-dhcp-client.h
+++ b/src/systemd/sd-dhcp-client.h
@@ -25,6 +25,7 @@
#include <sys/types.h>
#include <stdbool.h>
+#include "sd-device.h"
#include "sd-dhcp-lease.h"
#include "sd-dhcp-option.h"
#include "sd-event.h"
@@ -337,6 +338,7 @@ int sd_dhcp_client_attach_event(
int64_t priority);
int sd_dhcp_client_detach_event(sd_dhcp_client *client);
sd_event *sd_dhcp_client_get_event(sd_dhcp_client *client);
+int sd_dhcp_client_attach_device(sd_dhcp_client *client, sd_device *dev);
_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_dhcp_client, sd_dhcp_client_unref);