* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_H__
-#define __PERIPHERAL_BUS_H__
+#ifndef __PERIPHERAL_HANDLE_H__
+#define __PERIPHERAL_HANDLE_H__
#include <gio/gio.h>
typedef peripheral_bus_data_s *pb_data_h;
-#endif /* __PERIPHERAL_BUS_H__ */
+#endif /* __PERIPHERAL_HANDLE_H__ */
* limitations under the License.
*/
-#ifndef __PERIPHERAL_BUS_BOARD_H__
-#define __PERIPHERAL_BUS_BOARD_H__
+#ifndef __PERIPHERAL_BOARD_H__
+#define __PERIPHERAL_BOARD_H__
#define BOARD_DEVICE_TREE "/proc/device-tree/model"
#define BOARD_PINS_MAX 4
pb_board_s *peripheral_bus_board_init(void);
void peripheral_bus_board_deinit(pb_board_s *board);
-#endif /* __PERIPHERAL_BUS_BOARD_H__ */
+#endif /* __PERIPHERAL_BOARD_H__ */
} \
} while (0)
-#endif /* __PERIPHERAL_COMMON_H__ */
+#endif /* __PERIPHERAL_LOG_H__ */
* limitations under the License.
*/
-#ifndef __PRIVILEGE_CHECKER_H__
-#define __PRIVILEGE_CHECKER_H__
+#ifndef __PERIPHERAL_PRIVILEGE_H__
+#define __PERIPHERAL_PRIVILEGE_H__
#include <gio/gio.h>
void peripheral_privilege_deinit(void);
int peripheral_privilege_check(GDBusMethodInvocation *invocation, GDBusConnection *connection);
-#endif /* __PRIVILEGE_CHECKER_H__ */
+#endif /* __PERIPHERAL_PRIVILEGE_H__ */