privilege: change the "peripheral_bus_check_privilege" function static to public. 60/160860/2
authorSegwon <segwon.han@samsung.com>
Mon, 20 Nov 2017 09:02:55 +0000 (18:02 +0900)
committerSegwon <segwon.han@samsung.com>
Mon, 20 Nov 2017 09:52:14 +0000 (18:52 +0900)
commit54ca31c1a1fa7523ab0dded17265f807fdac947b
tree13ed4b9cedef310e5989776e53d5278adcb1055e
parent58b3d98c75efee0bbeff5894f32ccd596efc77c0
privilege: change the "peripheral_bus_check_privilege" function static to public.

 - Use the peripheral_bus_check_privilege() directly in the gdbus function rather than in the peripheral_bus_get_client_info().
 - The ids generated by peripheral_bus_get_client_info() will not be used.

Change-Id: I8ec7536f04c1db069b31c8ac973d727e12ba7f0e
Signed-off-by: Segwon <segwon.han@samsung.com>
src/daemon/include/peripheral_bus_util.h
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_bus_util.c