summaryrefslogtreecommitdiff
path: root/src/network/networkd-network-bus.h
blob: 650e145d42f2017cc434183a5cb29a3b6a1b2c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include "sd-bus.h"

typedef struct Link Link;

extern const sd_bus_vtable network_vtable[];

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);