diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-09 15:53:01 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-11 06:15:35 +0900 |
commit | 8e54db83e2837247bec2fc9f27a62877921c9f18 (patch) | |
tree | 21c0d09e1b1214247a8e1c0f073403246ccbcb09 /src/network/networkd-link.h | |
parent | 7f8539504cf4da1259845cee2b5136bf29c5cad2 (diff) | |
download | systemd-8e54db83e2837247bec2fc9f27a62877921c9f18.tar.gz |
network: make link_drop() can take custom handler
It will be used in the later commit.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r-- | src/network/networkd-link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h index 930dd25f92..e1f4b23a5a 100644 --- a/src/network/networkd-link.h +++ b/src/network/networkd-link.h @@ -139,7 +139,7 @@ int link_get(Manager *m, int ifindex, Link **ret); int link_add(Manager *manager, sd_netlink_message *message, Link **ret); void link_drop(Link *link); -int link_down(Link *link); +int link_down(Link *link, link_netlink_message_handler_t callback); void link_enter_failed(Link *link); int link_initialized(Link *link, sd_device *device); |