]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemd/sd-dhcp-client.h
sd-dhcp-client: refactor client_{free,new}
authorTom Gundersen <teg@jklm.no>
Sat, 18 Jan 2014 18:32:45 +0000 (19:32 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 18 Jan 2014 18:32:45 +0000 (19:32 +0100)
commitb25ef18b334d85d54f50478446bf81fe214cb2fc
tree2565dc0bc9d540ad173600ca8a90eb0d8054a022
parent35bbea48dcb74ed2ecc1cab1ca7306acf6d6bb65
sd-dhcp-client: refactor client_{free,new}

Make them more simiar to sd_bus and friends. Also factor out the event attachment. In the future,
we will likely want to support external main-loops, so this is a first step. For the time being,
we are still requiring an sd_event to be attached though.
src/libsystemd/sd-dhcp-client.c
src/libsystemd/test-dhcp-client.c
src/network/networkd-link.c
src/systemd/sd-dhcp-client.h