Doc updates in the header.

This commit is contained in:
Solomon Peachy 2016-12-05 23:31:08 -05:00
parent 6594ffe7eb
commit 5e77d6dcc8
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ struct dyesub_backend {
char *name;
char *version;
char *uri_prefix;
void (*cmdline_usage)(void);
void (*cmdline_usage)(void); /* Optional */
void *(*init)(void);
void (*attach)(void *ctx, struct libusb_device_handle *dev,
uint8_t endp_up, uint8_t endp_down, uint8_t jobid);
@ -148,7 +148,7 @@ struct dyesub_backend {
int (*cmdline_arg)(void *ctx, int argc, char **argv);
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);
int (*query_serno)(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, char *buf, int buf_len); /* Optional */
struct device_id devices[];
};