Systemd/src/network/networkd-dhcp-server-bus.h
Marc-André Lureau 38ee31a6e4 networkd: start a DBus interface for the DHCP server
Add a "org.freedesktop.network1.DHCPServer" DBus interface that will be
added on a link path where a DHCP server is provided.

Currently, it only exposes a "Leases" property, although there are plans
to expand it further. The property is updated thanks to the
dhcp_server_callback().
2020-06-04 11:16:15 +02:00

10 lines
232 B
C

/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include "sd-bus.h"
#include "networkd-link.h"
extern const sd_bus_vtable dhcp_server_vtable[];
void dhcp_server_callback(sd_dhcp_server *server, uint64_t event, void *data);