summaryrefslogtreecommitdiff
path: root/switch.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-30 20:52:37 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-05-30 20:52:37 +0200
commit925b9857173f5086c4afeed0a09fa29496b504ae (patch)
tree086bb6c481577fbbce77f2007ba0b18ae91f3872 /switch.h
parentae5b25523c3ef805a84f16a477ff8b4663060b02 (diff)
store message lengths
Diffstat (limited to 'switch.h')
-rw-r--r--switch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/switch.h b/switch.h
index ab09f11..1c964db 100644
--- a/switch.h
+++ b/switch.h
@@ -12,12 +12,14 @@ struct usbdev_data {
int interface;
int msg_endpoint;
int response_endpoint;
+ bool need_response;
char idstr[10];
char mfg[128], prod[128], serial[128];
};
extern struct blob_attr **messages;
+extern int *message_len;
extern int n_messages;
void handle_switch(struct usbdev_data *data);