summaryrefslogtreecommitdiff
path: root/switch.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-30 19:45:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-05-30 19:45:11 +0200
commitae5b25523c3ef805a84f16a477ff8b4663060b02 (patch)
treed7b5bfcc29a7586528c343d3c614c38c1ba4c88d /switch.h
parentc90c4320a4b60fe299505d5186fb501002b0f625 (diff)
find endpoint addresses
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