summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-address-pool.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-10-02 07:15:57 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-06 19:50:50 +0200
commited76f585217bf544274d350512254d0c2e70d408 (patch)
tree680bad4f718c0cd8f0324a21ac6319c41d604f8b /src/network/networkd-address-pool.h
parentnetwork: header cleanup (diff)
downloadsystemd-ed76f585217bf544274d350512254d0c2e70d408.tar.xz
systemd-ed76f585217bf544274d350512254d0c2e70d408.zip
network: move functions related to address pool
Diffstat (limited to 'src/network/networkd-address-pool.h')
-rw-r--r--src/network/networkd-address-pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-address-pool.h b/src/network/networkd-address-pool.h
index 7db1c4f26c..0c5cd5cedd 100644
--- a/src/network/networkd-address-pool.h
+++ b/src/network/networkd-address-pool.h
@@ -19,7 +19,7 @@ struct AddressPool {
LIST_FIELDS(AddressPool, address_pools);
};
-int address_pool_new_from_string(Manager *m, AddressPool **ret, int family, const char *p, unsigned prefixlen);
void address_pool_free(AddressPool *p);
-int address_pool_acquire(AddressPool *p, unsigned prefixlen, union in_addr_union *found);
+int address_pool_setup_default(Manager *m);
+int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);