diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-26 10:19:31 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-26 10:19:31 +0200 |
commit | d8bff5cc37bf34517691ecb8856603250eceb607 (patch) | |
tree | 85df008e5a3852bc11d82b89e45e950bf16cafd6 /src/libsystemd-network/network-internal.h | |
parent | networkd: unfoobar serialization of links (diff) | |
download | systemd-d8bff5cc37bf34517691ecb8856603250eceb607.tar.xz systemd-d8bff5cc37bf34517691ecb8856603250eceb607.zip |
network: simplify how initial space is handled
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r-- | src/libsystemd-network/network-internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index 16ff173ac6..c413afc7d5 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -50,11 +50,12 @@ const char *net_get_name_persistent(sd_device *device); size_t serialize_in_addrs(FILE *f, const struct in_addr *addresses, size_t size, - bool with_leading_space, + bool *with_leading_space, bool (*predicate)(const struct in_addr *addr)); int deserialize_in_addrs(struct in_addr **addresses, const char *string); void serialize_in6_addrs(FILE *f, const struct in6_addr *addresses, - size_t size); + size_t size, + bool *with_leading_space); int deserialize_in6_addrs(struct in6_addr **addresses, const char *string); /* don't include "dhcp-lease-internal.h" as it causes conflicts between netinet/ip.h and linux/ip.h */ |