diff options
author | Alex Crawford <alex.crawford@coreos.com> | 2015-07-31 20:18:51 -0700 |
---|---|---|
committer | Alex Crawford <alex.crawford@coreos.com> | 2015-08-05 09:00:57 -0700 |
commit | a073309fb779e9c9e48eaef664daeb6b8f6080da (patch) | |
tree | 5bd0288183077852a2874b9fe3505528e39991ca /src/libsystemd-network/network-internal.h | |
parent | 7e753d9d28ca93fe0e48fd3605ed7c3371736422 (diff) |
networkd: serialize the private options
Save the private options along side the rest of the options in the lease
files.
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); |