]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/test-dhcp6-client.c
dhcp: make DHCP6_OPTION_* enum public 2389/head
authorBeniamino Galvani <bgalvani@redhat.com>
Wed, 20 Jan 2016 13:44:28 +0000 (14:44 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Wed, 20 Jan 2016 16:25:16 +0000 (17:25 +0100)
commit2c1ab8ca9b5dec48c66eb25dd8af71731e70e517
tree93bafa94d7874a04f156b61a03e20f29544ca574
parent22805d9207d5242681e5667ee304572e4abf9b94
dhcp: make DHCP6_OPTION_* enum public

libsystemd-network provides the public function
sd_dhcp6_client_set_request_option() to enable the request of a given
DHCP option. However the enum defining such options is defined in the
internal header dhcp6-protocol.h. Move the enum definition to the
public header sd-dhcp6-client.h and properly namespace values.
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/dhcp6-protocol.h
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/test-dhcp6-client.c
src/systemd/sd-dhcp6-client.h