coolkingh commented on PR #610:
URL: https://github.com/apache/guacamole-server/pull/610#issuecomment-3722784384
The **usbconnect_handler** is defined as a function pointer type and struct
member, but there's no implementation assigned to it. It is incomplete same for
other functions usbdata_handler and usbdisconnect_handler
It is given in comments but never defined.
```
/*** Handler for USB connect events sent by the Guacamole web-client.
*
* The handler takes the user that connected the device, the device ID,
* vendor ID, product ID, device name, serial number, device class,
* device subclass, device protocol, and interface data.
*
* Example:
* @code
* int usbconnect_handler(guac_user* user, const char* device_id,
* int vendor_id, int product_id, const char* device_name,
* const char* serial_number, int device_class,
* int device_subclass, int device_protocol,
* const char* interface_data);
*
* int guac_user_init(guac_user* user, int argc, char** argv) {
* user->usbconnect_handler = usbconnect_handler;
* }
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]