summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-01 17:31:14 +0200
committerTom Gundersen <teg@jklm.no>2015-10-21 02:35:31 +0200
commit6666907869fb3bc7fe6a6025540db5b887c7a78b (patch)
tree7ccee1a1cd8290c11de5a4362daafd8360dbc921 /src/network/networkd-address.h
parent36c32f6120a0c3fe19be5aeaa1926e179e8c29ba (diff)
networkd: address - merge _change() into _configure()
These functions are almost entirely the same, so avoid duplication.
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index 07a7ad2026..cb29acc7be 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -64,8 +64,7 @@ int address_add(Link *link, int family, const union in_addr_union *in_addr, unsi
int address_get(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
int address_update(Address *address, unsigned char flags, unsigned char scope, struct ifa_cacheinfo *cinfo);
int address_drop(Address *address);
-int address_configure(Address *address, Link *link, sd_netlink_message_handler_t callback);
-int address_change(Address *address, Link *link, sd_netlink_message_handler_t callback);
+int address_configure(Address *address, Link *link, sd_netlink_message_handler_t callback, bool update);
int address_remove(Address *address, Link *link, sd_netlink_message_handler_t callback);
bool address_equal(Address *a1, Address *a2);
bool address_is_ready(const Address *a);