summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network-bus.h
blob: 68ed951425b917d9a7cbe93eb06d3398a728c05a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "sd-bus.h"

#include "bus-object.h"

typedef struct Link Link;

extern const BusObjectImplementation network_object;

int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
int network_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);