Add a debug command
This commit is contained in:
@@ -15,25 +15,26 @@ struct libusb_device_bundle
|
||||
|
||||
int get_device_bundle(struct pwned_device *dev);
|
||||
int release_device_bundle(struct pwned_device *dev);
|
||||
int is_device_bundle_open(struct pwned_device *dev);
|
||||
|
||||
void libusb1_async_ctrl_transfer(struct pwned_device *dev,
|
||||
int libusb1_async_ctrl_transfer(struct pwned_device *dev,
|
||||
unsigned char bmRequestType, unsigned char bRequest,
|
||||
unsigned short wValue, unsigned short wIndex,
|
||||
unsigned char *data, unsigned short data_len,
|
||||
unsigned int timeout);
|
||||
|
||||
void libusb1_no_error_ctrl_transfer(struct pwned_device *dev,
|
||||
int libusb1_no_error_ctrl_transfer(struct pwned_device *dev,
|
||||
unsigned char bmRequestType, unsigned char bRequest,
|
||||
unsigned short wValue, unsigned short wIndex,
|
||||
unsigned char *data, unsigned short data_len,
|
||||
unsigned int timeout);
|
||||
|
||||
void stall(struct pwned_device *dev);
|
||||
void leak(struct pwned_device *dev);
|
||||
void no_leak(struct pwned_device *dev);
|
||||
int stall(struct pwned_device *dev);
|
||||
int leak(struct pwned_device *dev);
|
||||
int no_leak(struct pwned_device *dev);
|
||||
|
||||
void usb_req_stall(struct pwned_device *dev);
|
||||
void usb_req_leak(struct pwned_device *dev);
|
||||
void usb_req_no_leak(struct pwned_device *dev);
|
||||
int usb_req_stall(struct pwned_device *dev);
|
||||
int usb_req_leak(struct pwned_device *dev);
|
||||
int usb_req_no_leak(struct pwned_device *dev);
|
||||
|
||||
#endif //IPWNDFU_REWRITE_C_LIBUSB_HELPERS_H
|
||||
|
||||
Reference in New Issue
Block a user