diff options
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r-- | src/libsystemd-network/network-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index 1c77d33274..c08cddd799 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -68,3 +68,7 @@ int net_parse_inaddr(const char *address, unsigned char *family, void *dst); int net_get_unique_predictable_data(struct udev_device *device, uint8_t result[8]); int load_module(struct kmod_ctx *ctx, const char *mod_name); + +void serialize_in_addrs(FILE *f, const char *key, struct in_addr *addresses, size_t size); +int deserialize_in_addrs(struct in_addr **addresses, size_t *size, const char *string); +int deserialize_in6_addrs(struct in6_addr **addresses, size_t *size, const char *string); |