From afba5302d55cbfe26255733351e6df2ee1c03e11 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 15 Oct 2015 12:43:34 +1000 Subject: [PATCH] hidpp10: move open_lock and disconnect to the correct section in the header Signed-off-by: Peter Hutterer --- src/hidpp10.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/hidpp10.h b/src/hidpp10.h index 20466f66..697189c4 100644 --- a/src/hidpp10.h +++ b/src/hidpp10.h @@ -57,8 +57,6 @@ union hidpp10_message { void hidpp10_device_destroy(struct hidpp10_device *dev); int hidpp10_request_command(struct hidpp10_device *device, union hidpp10_message *msg); -int hidpp10_open_lock(struct hidpp10_device *device); -int hidpp10_disconnect(struct hidpp10_device *device, int idx); void hidpp10_list_devices(struct ratbag_device *device); struct hidpp10_device *hidpp10_device_new_from_wpid(struct ratbag_device *device, uint16_t wpid); struct hidpp10_device *hidpp10_device_new_from_idx(struct ratbag_device *device, int idx); @@ -474,6 +472,15 @@ hidpp10_read_memory(struct hidpp10_device *dev, uint8_t offset, uint8_t bytes[16]); +/* -------------------------------------------------------------------------- */ +/* 0xB2: Device Connection and Disconnection (Pairing) */ +/* -------------------------------------------------------------------------- */ + +int +hidpp10_open_lock(struct hidpp10_device *device); +int +hidpp10_disconnect(struct hidpp10_device *device, int idx); + /* -------------------------------------------------------------------------- */ /* 0xB5: Pairing Information */ /* -------------------------------------------------------------------------- */