gdbus: change file name prefix "peripheral_bus_gdbus" to "peripheral_gdbus" 68/160968/1
authorSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 02:33:51 +0000 (11:33 +0900)
committerSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 02:33:51 +0000 (11:33 +0900)
Change-Id: I155f9155a39745093e553eb2830a7b1198515469
Signed-off-by: Segwon <segwon.han@samsung.com>
13 files changed:
CMakeLists.txt
src/daemon/include/peripheral_gdbus_gpio.h [moved from src/daemon/include/peripheral_bus_gdbus_gpio.h with 86% similarity]
src/daemon/include/peripheral_gdbus_i2c.h [moved from src/daemon/include/peripheral_bus_gdbus_i2c.h with 87% similarity]
src/daemon/include/peripheral_gdbus_pwm.h [moved from src/daemon/include/peripheral_bus_gdbus_pwm.h with 87% similarity]
src/daemon/include/peripheral_gdbus_spi.h [moved from src/daemon/include/peripheral_bus_gdbus_spi.h with 87% similarity]
src/daemon/include/peripheral_gdbus_uart.h [moved from src/daemon/include/peripheral_bus_gdbus_uart.h with 86% similarity]
src/daemon/peripheral_bus.c
src/daemon/peripheral_gdbus_gpio.c [moved from src/daemon/peripheral_bus_gdbus_gpio.c with 98% similarity]
src/daemon/peripheral_gdbus_i2c.c [moved from src/daemon/peripheral_bus_gdbus_i2c.c with 98% similarity]
src/daemon/peripheral_gdbus_pwm.c [moved from src/daemon/peripheral_bus_gdbus_pwm.c with 98% similarity]
src/daemon/peripheral_gdbus_spi.c [moved from src/daemon/peripheral_bus_gdbus_spi.c with 98% similarity]
src/daemon/peripheral_gdbus_uart.c [moved from src/daemon/peripheral_bus_gdbus_uart.c with 98% similarity]
src/daemon/peripheral_handle_gpio.c

index 947f185..bddedcb 100644 (file)
@@ -23,11 +23,11 @@ SET(PERIPHERAL-BUS "peripheral-bus")
 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
similarity index 86%
rename from src/daemon/include/peripheral_bus_gdbus_gpio.h
rename to src/daemon/include/peripheral_gdbus_gpio.h
index 6036c99..2d396ab 100644 (file)
@@ -14,8 +14,8 @@
  * 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"
 
@@ -26,4 +26,4 @@ gboolean handle_gpio_open(
                gint pin,
                gpointer user_data);
 
-#endif /* __PERIPHERAL_BUS_GDBUS_GPIO_H__ */
+#endif /* __PERIPHERAL_GDBUS_GPIO_H__ */
similarity index 87%
rename from src/daemon/include/peripheral_bus_gdbus_i2c.h
rename to src/daemon/include/peripheral_gdbus_i2c.h
index b098b04..cad264d 100644 (file)
@@ -14,8 +14,8 @@
  * 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"
 
@@ -27,4 +27,4 @@ gboolean handle_i2c_open(
                gint address,
                gpointer user_data);
 
-#endif /* __PERIPHERAL_BUS_GDBUS_I2C_H__ */
+#endif /* __PERIPHERAL_GDBUS_I2C_H__ */
similarity index 87%
rename from src/daemon/include/peripheral_bus_gdbus_pwm.h
rename to src/daemon/include/peripheral_gdbus_pwm.h
index 650e7d6..4ffae5e 100644 (file)
@@ -14,8 +14,8 @@
  * 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"
 
@@ -27,4 +27,4 @@ gboolean handle_pwm_open(
                gint pin,
                gpointer user_data);
 
-#endif /* __PERIPHERAL_BUS_GDBUS_PWM_H__ */
+#endif /* __PERIPHERAL_GDBUS_PWM_H__ */
similarity index 87%
rename from src/daemon/include/peripheral_bus_gdbus_spi.h
rename to src/daemon/include/peripheral_gdbus_spi.h
index 199e632..687528c 100644 (file)
@@ -14,8 +14,8 @@
  * 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"
 
@@ -27,4 +27,4 @@ gboolean handle_spi_open(
                gint cs,
                gpointer user_data);
 
-#endif /* __PERIPHERAL_BUS_GDBUS_SPI_H__ */
+#endif /* __PERIPHERAL_GDBUS_SPI_H__ */
similarity index 86%
rename from src/daemon/include/peripheral_bus_gdbus_uart.h
rename to src/daemon/include/peripheral_gdbus_uart.h
index 7cfbfa0..64bd84c 100644 (file)
@@ -14,8 +14,8 @@
  * 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"
 
@@ -26,4 +26,4 @@ gboolean handle_uart_open(
                gint port,
                gpointer user_data);
 
-#endif /* __PERIPHERAL_BUS_GDBUS_UART_H__ */
+#endif /* __PERIPHERAL_GDBUS_UART_H__ */
index 7f66434..d4c038f 100644 (file)
 #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"
 
similarity index 98%
rename from src/daemon/peripheral_bus_gdbus_gpio.c
rename to src/daemon/peripheral_gdbus_gpio.c
index b27793c..685c826 100644 (file)
@@ -22,7 +22,7 @@
 #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,
similarity index 98%
rename from src/daemon/peripheral_bus_gdbus_i2c.c
rename to src/daemon/peripheral_gdbus_i2c.c
index 5d06d7a..5272fc7 100644 (file)
@@ -21,7 +21,7 @@
 #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,
similarity index 98%
rename from src/daemon/peripheral_bus_gdbus_pwm.c
rename to src/daemon/peripheral_gdbus_pwm.c
index b44babc..7c40024 100644 (file)
@@ -21,7 +21,7 @@
 #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,
similarity index 98%
rename from src/daemon/peripheral_bus_gdbus_spi.c
rename to src/daemon/peripheral_gdbus_spi.c
index 447f34e..d8b590d 100644 (file)
@@ -21,7 +21,7 @@
 #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,
similarity index 98%
rename from src/daemon/peripheral_bus_gdbus_uart.c
rename to src/daemon/peripheral_gdbus_uart.c
index d895d98..06d028b 100644 (file)
@@ -21,7 +21,7 @@
 #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,
index 6ac8d20..6ee068d 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "peripheral_interface_gpio.h"
 #include "peripheral_bus.h"
-#include "peripheral_bus_gdbus_gpio.h"
 #include "peripheral_log.h"
 #include "peripheral_bus_util.h"