path: root/backend_common.h
diff options
authorSolomon Peachy <>2015-08-12 22:51:45 -0400
committerSolomon Peachy <>2015-08-12 22:51:45 -0400
commit6983fc380f2606c39c3cd74d8c288ffad43806f1 (patch)
treea20bf03d62b6ad40222a7a098c9708eb8478084b /backend_common.h
parentab1f63610b000d2ed4b6d0b20d329c0304395dda (diff)
common: Eliminate early_parse() from backend.
only canonselphy used it. This also showed that extra_vid/pid was broken.
Diffstat (limited to 'backend_common.h')
1 files changed, 4 insertions, 2 deletions
diff --git a/backend_common.h b/backend_common.h
index 80996d3..1fd07ce 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -134,7 +134,6 @@ struct dyesub_backend {
uint8_t endp_up, uint8_t endp_down, uint8_t jobid);
void (*teardown)(void *ctx);
int (*cmdline_arg)(void *ctx, int argc, char **argv);
- int (*early_parse)(void *ctx, int data_fd);
int (*read_parse)(void *ctx, int data_fd);
int (*main_loop)(void *ctx, int copies);
int (*query_serno)(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, char *buf, int buf_len);
@@ -147,10 +146,13 @@ int send_data(struct libusb_device_handle *dev, uint8_t endp,
int read_data(struct libusb_device_handle *dev, uint8_t endp,
uint8_t *buf, int buflen, int *readlen);
-/* Exported data */
+/* Global data */
extern int terminate;
extern int dyesub_debug;
extern int fast_return;
+extern int extra_vid;
+extern int extra_pid;
+extern int extra_type;
/* External data */
extern struct dyesub_backend updr150_backend;