chiark / gitweb /
sd-dhcp-client: Add an explicit stop state for the DHCP client
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 9 Apr 2014 10:12:08 +0000 (13:12 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 11 Apr 2014 07:53:34 +0000 (10:53 +0300)
commit781ca7a13feb01739a9aa8b629ff1ff7c51e74aa
treedb35d8aa16fbe995439dcaff3387705938254557
parente5b04c8de83aa17e324bae95f18a822931fb8078
sd-dhcp-client: Add an explicit stop state for the DHCP client

Add an explicit stop state for the DHCP client so that the library
user can issue a stop at any time the callback has been called.
When returning from the callback, check also the stop state and
stop any further DHCP processing.
src/libsystemd-network/dhcp-protocol.h
src/libsystemd-network/sd-dhcp-client.c