diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-05 22:20:36 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-05 22:20:36 +0300 |
commit | b5a306ef73f9c31499f2d97f8b9d3db514b56a09 (patch) | |
tree | 9f1970d84dc720b7bc86824242d95cdedee784e1 /src/libsystemd-network/network-internal.h | |
parent | 8dbf626535136b6fe6e1cf7d4ff251b2f505087c (diff) | |
parent | 9b57d9aee48e78bb591baecea1c3dbafd974759f (diff) |
Merge pull request #877 from crawford/dhcp-private-options-v4
networkd: save private-zone DHCP options
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r-- | src/libsystemd-network/network-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index 06aba893ce..7aaecbb10d 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -74,3 +74,6 @@ struct sd_dhcp_route; void serialize_dhcp_routes(FILE *f, const char *key, struct 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); + +int serialize_dhcp_option(FILE *f, const char *key, const uint8_t *data, size_t size); +int deserialize_dhcp_option(uint8_t **data, size_t *data_len, const char *string); |