add hid_get_report_desc_data() to access the raw report descriptor
authorjcs <jcs@openbsd.org>
Sun, 30 May 2021 19:54:52 +0000 (19:54 +0000)
committerjcs <jcs@openbsd.org>
Sun, 30 May 2021 19:54:52 +0000 (19:54 +0000)
commitbe68eabdc8dbd85b407ed2f7a0a0280360a4fa12
treeb7a91384ec79f9d67ed19f30b181ae5cd639251b
parentce5a1c4354a3a26c8d1090a99f1a27c59c0077f2
add hid_get_report_desc_data() to access the raw report descriptor
data without needing to export the report_desc struct definition.

suggested by and ok anton@
lib/libusbhid/descr.c
lib/libusbhid/shlib_version
lib/libusbhid/usbhid.3
lib/libusbhid/usbhid.h