1
0
mirror of https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git synced 2026-10-24 00:48:53 +03:00
Files
libgpiod/dbus/manager/daemon.h
Bartosz Golaszewski a5ab76da1e dbus: add the D-Bus daemon, command-line client and tests
Add the D-Bus API definition and its implementation in the form of a GPIO
manager daemon and a companion command-line client as well as some
additional configuration and data files (systemd service, example udev
configuration, etc.) and test suites.

Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20240812-dbus-v5-4-ead288509217@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2024-08-13 10:45:25 +02:00

23 lines
680 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SPDX-FileCopyrightText: 2022-2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> */
#ifndef __GPIODBUS_DAEMON_H__
#define __GPIODBUS_DAEMON_H__
#include <gio/gio.h>
#include <glib.h>
#include <glib-object.h>
G_DECLARE_FINAL_TYPE(GpiodbusDaemon, gpiodbus_daemon,
GPIODBUS, DAEMON, GObject);
#define GPIODBUS_DAEMON_TYPE (gpiodbus_daemon_get_type())
#define GPIODBUS_DAEMON(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
GPIODBUS_DAEMON_TYPE, GpiodbusDaemon))
GpiodbusDaemon *gpiodbus_daemon_new(void);
void gpiodbus_daemon_start(GpiodbusDaemon *daemon, GDBusConnection *con);
#endif /* __GPIODBUS_DAEMON_H__ */