SET(SRCS
src/daemon/peripheral_bus.c
src/daemon/peripheral_bus_util.c
- src/daemon/peripheral_bus_gdbus_gpio.c
- src/daemon/peripheral_bus_gdbus_i2c.c
- src/daemon/peripheral_bus_gdbus_pwm.c
- src/daemon/peripheral_bus_gdbus_spi.c
- src/daemon/peripheral_bus_gdbus_uart.c
+ src/daemon/peripheral_gdbus_gpio.c
+ src/daemon/peripheral_gdbus_i2c.c
+ src/daemon/peripheral_gdbus_pwm.c
+ src/daemon/peripheral_gdbus_spi.c
+ src/daemon/peripheral_gdbus_uart.c
src/daemon/peripheral_handle_pwm.c
src/daemon/peripheral_handle_i2c.c
src/daemon/peripheral_handle_gpio.c
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_GDBUS_GPIO_H__
-#define __PERIPHERAL_BUS_GDBUS_GPIO_H__
+#ifndef __PERIPHERAL_GDBUS_GPIO_H__
+#define __PERIPHERAL_GDBUS_GPIO_H__
#include "peripheral_io_gdbus.h"
gint pin,
gpointer user_data);
-#endif /* __PERIPHERAL_BUS_GDBUS_GPIO_H__ */
+#endif /* __PERIPHERAL_GDBUS_GPIO_H__ */
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_GDBUS_I2C_H__
-#define __PERIPHERAL_BUS_GDBUS_I2C_H__
+#ifndef __PERIPHERAL_GDBUS_I2C_H__
+#define __PERIPHERAL_GDBUS_I2C_H__
#include "peripheral_io_gdbus.h"
gint address,
gpointer user_data);
-#endif /* __PERIPHERAL_BUS_GDBUS_I2C_H__ */
+#endif /* __PERIPHERAL_GDBUS_I2C_H__ */
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_GDBUS_PWM_H__
-#define __PERIPHERAL_BUS_GDBUS_PWM_H__
+#ifndef __PERIPHERAL_GDBUS_PWM_H__
+#define __PERIPHERAL_GDBUS_PWM_H__
#include "peripheral_io_gdbus.h"
gint pin,
gpointer user_data);
-#endif /* __PERIPHERAL_BUS_GDBUS_PWM_H__ */
+#endif /* __PERIPHERAL_GDBUS_PWM_H__ */
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_GDBUS_SPI_H__
-#define __PERIPHERAL_BUS_GDBUS_SPI_H__
+#ifndef __PERIPHERAL_GDBUS_SPI_H__
+#define __PERIPHERAL_GDBUS_SPI_H__
#include "peripheral_io_gdbus.h"
gint cs,
gpointer user_data);
-#endif /* __PERIPHERAL_BUS_GDBUS_SPI_H__ */
+#endif /* __PERIPHERAL_GDBUS_SPI_H__ */
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_GDBUS_UART_H__
-#define __PERIPHERAL_BUS_GDBUS_UART_H__
+#ifndef __PERIPHERAL_GDBUS_UART_H__
+#define __PERIPHERAL_GDBUS_UART_H__
#include "peripheral_io_gdbus.h"
gint port,
gpointer user_data);
-#endif /* __PERIPHERAL_BUS_GDBUS_UART_H__ */
+#endif /* __PERIPHERAL_GDBUS_UART_H__ */
#include "peripheral_io_gdbus.h"
#include "peripheral_bus.h"
#include "peripheral_log.h"
-#include "peripheral_bus_gdbus_gpio.h"
-#include "peripheral_bus_gdbus_i2c.h"
-#include "peripheral_bus_gdbus_pwm.h"
-#include "peripheral_bus_gdbus_spi.h"
-#include "peripheral_bus_gdbus_uart.h"
+#include "peripheral_gdbus_gpio.h"
+#include "peripheral_gdbus_i2c.h"
+#include "peripheral_gdbus_pwm.h"
+#include "peripheral_gdbus_spi.h"
+#include "peripheral_gdbus_uart.h"
#include "privilege_checker.h"
#include "peripheral_handle_gpio.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"
-#include "peripheral_bus_gdbus_gpio.h"
+#include "peripheral_gdbus_gpio.h"
static void __gpio_on_name_vanished(GDBusConnection *connection,
const gchar *name,
#include "peripheral_handle_i2c.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"
-#include "peripheral_bus_gdbus_i2c.h"
+#include "peripheral_gdbus_i2c.h"
static void __i2c_on_name_vanished(GDBusConnection *connection,
const gchar *name,
#include "peripheral_handle_pwm.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"
-#include "peripheral_bus_gdbus_pwm.h"
+#include "peripheral_gdbus_pwm.h"
static void __pwm_on_name_vanished(GDBusConnection *connection,
const gchar *name,
#include "peripheral_handle_spi.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"
-#include "peripheral_bus_gdbus_spi.h"
+#include "peripheral_gdbus_spi.h"
static void __spi_on_name_vanished(GDBusConnection *connection,
const gchar *name,
#include "peripheral_handle_uart.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"
-#include "peripheral_bus_gdbus_uart.h"
+#include "peripheral_gdbus_uart.h"
static void __uart_on_name_vanished(GDBusConnection *connection,
const gchar *name,
#include "peripheral_interface_gpio.h"
#include "peripheral_bus.h"
-#include "peripheral_bus_gdbus_gpio.h"
#include "peripheral_log.h"
#include "peripheral_bus_util.h"