summaryrefslogtreecommitdiff
path: root/switch.h
diff options
context:
space:
mode:
Diffstat (limited to 'switch.h')
-rw-r--r--switch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/switch.h b/switch.h
index eb5968f..ab09f11 100644
--- a/switch.h
+++ b/switch.h
@@ -10,11 +10,16 @@ struct usbdev_data {
libusb_device_handle *devh;
struct blob_attr *info;
int interface;
+ int msg_endpoint;
+ int response_endpoint;
char idstr[10];
char mfg[128], prod[128], serial[128];
};
+extern struct blob_attr **messages;
+extern int n_messages;
+
void handle_switch(struct usbdev_data *data);
#endif