summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorAndrew Jeddeloh <andrewjeddeloh@gmail.com>2016-10-11 21:28:22 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-11 21:28:22 -0400
commit9f1008d5131806a390d697f2e1e994ea1e9bf83d (patch)
treedbeaeebbe4685e9e763c4bb65dbfaedc78656b4c /src/network/networkd-link.h
parent74e7579c17e08ee548a81dfca3d98251d3d3948c (diff)
networkd: add dbus interface for lease raw options (#3528)
Add a dbus object to represent dhcp leases and their raw options (i.e. options 224-254).
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r--src/network/networkd-link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index 77f72d070e..1178999bb4 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -179,6 +179,11 @@ int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***
int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
int link_send_changed(Link *link, const char *property, ...) _sentinel_;
+extern const sd_bus_vtable lease_vtable[];
+
+int lease_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
+int lease_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(Link*, link_unref);
#define _cleanup_link_unref_ _cleanup_(link_unrefp)