Re: [systemd-devel] [PATCH] sd-dhcp-lease: expose load/save functions

2014-11-18 Thread Tom Gundersen
I was hesitating a bit about this, as I was worried about different users of the library clobbering its others on-disk state. However, in the end the user of the library is ultimately responsible for avoiding name-space clashes and only saving leases in directories they "own", so I guess it is ok.

Re: [systemd-devel] [PATCH] sd-dhcp-lease: expose load/save functions

2014-11-18 Thread Dan Williams
On Tue, 2014-11-04 at 11:41 -0600, Dan Williams wrote: > They're useful outside of networkd itself in the libsystemd-network > library. Anyone had a chance to review this patch? > --- > src/libsystemd-network/dhcp-lease-internal.h | 3 --- > src/libsystemd-network/sd-dhcp-lease.c | 4 ++--

[systemd-devel] [PATCH] sd-dhcp-lease: expose load/save functions

2014-11-04 Thread Dan Williams
They're useful outside of networkd itself in the libsystemd-network library. --- src/libsystemd-network/dhcp-lease-internal.h | 3 --- src/libsystemd-network/sd-dhcp-lease.c | 4 ++-- src/network/networkd-link.c | 2 +- src/systemd/sd-dhcp-lease.h | 3 +++ 4