diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 07:44:03 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 07:44:03 +0200 |
commit | ce088d6fb4a6363106e4b94ad749d3bce61aefc7 (patch) | |
tree | c67a21689aedd967fd742a3af1cebba61a2f24e1 /src/libsystemd-network/network-internal.h | |
parent | resolve: allow whitespaces in the DS digest or DNSKEY key data (diff) | |
download | systemd-ce088d6fb4a6363106e4b94ad749d3bce61aefc7.tar.xz systemd-ce088d6fb4a6363106e4b94ad749d3bce61aefc7.zip |
sd-dhcp: drop deserialize_dhcp_option() as it is equivalent to unhexmem()
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r-- | src/libsystemd-network/network-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index c7b659b731..d0076f453d 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -78,5 +78,5 @@ struct sd_dhcp_route; void serialize_dhcp_routes(FILE *f, const char *key, sd_dhcp_route **routes, size_t size); int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, size_t *ret_allocated, const char *string); +/* It is not necessary to add deserialize_dhcp_option(). Use unhexmem() instead. */ int serialize_dhcp_option(FILE *f, const char *key, const void *data, size_t size); -int deserialize_dhcp_option(void **data, size_t *data_len, const char *string); |