diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-30 05:10:35 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-30 05:12:51 +0900 |
commit | ceac2c2b62dc2b5ac67856ab423a47f152d49925 (patch) | |
tree | c3e26fe14a43b226f92afa16ad3aaa9d219ac2e9 /src/network/networkd-network-bus.h | |
parent | 8fcf1d6180cbd08cc008a072668b55e83719533c (diff) | |
download | systemd-ceac2c2b62dc2b5ac67856ab423a47f152d49925.tar.gz |
network: move prototypes related to network Network bus objects to networkd-network-bus.h
Diffstat (limited to 'src/network/networkd-network-bus.h')
-rw-r--r-- | src/network/networkd-network-bus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/network/networkd-network-bus.h b/src/network/networkd-network-bus.h new file mode 100644 index 0000000000..650e145d42 --- /dev/null +++ b/src/network/networkd-network-bus.h @@ -0,0 +1,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); |