dhcp: export routes as opaque objects
authorBeniamino Galvani <bgalvani@redhat.com>
Wed, 20 Jan 2016 13:44:14 +0000 (14:44 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Wed, 20 Jan 2016 16:25:16 +0000 (17:25 +0100)
commitf8693fc7971942eedb4651a8c82500c227773f62
tree2cc0173388b0641eaed0ce697a4f0893c3710da7
parenta9cb7caba6a58ac72d9d8754fee546b881d6ce57
dhcp: export routes as opaque objects

At the moment sd_dhcp_lease_get_routes() returns an array of structs
which are not defined in public headers. Instead, change the function
to return an array of pointers to opaque sd_dhcp_route objects.
src/libsystemd-network/network-internal.c
src/libsystemd-network/network-internal.h
src/libsystemd-network/sd-dhcp-lease.c
src/network/networkd-dhcp4.c
src/systemd/sd-dhcp-lease.h