summaryrefslogtreecommitdiffstats
path: root/backend_common.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2016-12-05 23:31:08 -0500
committerSolomon Peachy <pizza@shaftnet.org>2016-12-05 23:31:08 -0500
commite7252093f4ea7e087e9db28d1edc4bb6a1b9c7ae (patch)
treeea2b837c749a5ff1373ed0bce43869e85cd2c331 /backend_common.h
parent16588529efbf0f451f53355b1dbeb8a95c097197 (diff)
downloadselphy_print-e7252093f4ea7e087e9db28d1edc4bb6a1b9c7ae.tar.gz
selphy_print-e7252093f4ea7e087e9db28d1edc4bb6a1b9c7ae.tar.bz2
selphy_print-e7252093f4ea7e087e9db28d1edc4bb6a1b9c7ae.zip
Doc updates in the header.
Diffstat (limited to 'backend_common.h')
-rw-r--r--backend_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_common.h b/backend_common.h
index 3b69128..53cd519 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -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[];
};