16 lines
508 B
C
16 lines
508 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include "sd-bus.h"
|
|
|
|
#include "macro.h"
|
|
|
|
typedef struct Link Link;
|
|
|
|
extern const sd_bus_vtable link_vtable[];
|
|
|
|
char *link_bus_path(Link *link);
|
|
int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
|
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_;
|