From 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 31 Jul 2019 16:59:49 +0200 Subject: New upstream version 1.0.28 --- backend/hp5590_low.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'backend/hp5590_low.h') diff --git a/backend/hp5590_low.h b/backend/hp5590_low.h index 5ca191d..4882860 100644 --- a/backend/hp5590_low.h +++ b/backend/hp5590_low.h @@ -48,40 +48,40 @@ #include "../include/sane/sane.h" enum proto_flags { - PF_NONE = 0, - PF_NO_USB_IN_USB_ACK = 1 << 0 /* Getting acknowledge after USB-in-USB command - * will be skipped */ + PF_NONE = 0, + PF_NO_USB_IN_USB_ACK = 1 << 0 /* Getting acknowledge after USB-in-USB command + * will be skipped */ }; /* Flags for hp5590_cmd() */ -#define CMD_IN 1 << 0 /* Indicates IN direction, otherwise - OUT */ -#define CMD_VERIFY 1 << 1 /* Requests last command verification */ +#define CMD_IN 1 << 0 /* Indicates IN direction, otherwise - OUT */ +#define CMD_VERIFY 1 << 1 /* Requests last command verification */ /* Core flags for hp5590_cmd() - they indicate so called CORE commands */ -#define CORE_NONE 0 /* No CORE operation */ -#define CORE_DATA 1 << 0 /* Operate on CORE data */ -#define CORE_BULK_IN 1 << 1 /* CORE bulk operation - prepare for bulk IN - * transfer (not used yet) - */ -#define CORE_BULK_OUT 1 << 2 /* CORE bulk operation - prepare for bulk OUT - * transfer - */ +#define CORE_NONE 0 /* No CORE operation */ +#define CORE_DATA 1 << 0 /* Operate on CORE data */ +#define CORE_BULK_IN 1 << 1 /* CORE bulk operation - prepare for bulk IN + * transfer (not used yet) + */ +#define CORE_BULK_OUT 1 << 2 /* CORE bulk operation - prepare for bulk OUT + * transfer + */ static SANE_Status hp5590_cmd (SANE_Int dn, - enum proto_flags proto_flags, - unsigned int flags, - unsigned int cmd, unsigned char *data, - unsigned int size, unsigned int core_flags); + enum proto_flags proto_flags, + unsigned int flags, + unsigned int cmd, unsigned char *data, + unsigned int size, unsigned int core_flags); static SANE_Status hp5590_bulk_read (SANE_Int dn, - enum proto_flags proto_flags, - unsigned char *bytes, - unsigned int size, void *state); + enum proto_flags proto_flags, + unsigned char *bytes, + unsigned int size, void *state); static SANE_Status hp5590_bulk_write (SANE_Int dn, - enum proto_flags proto_flags, - int cmd, - unsigned char *bytes, - unsigned int size); + enum proto_flags proto_flags, + int cmd, + unsigned char *bytes, + unsigned int size); static SANE_Status hp5590_get_status (SANE_Int dn, - enum proto_flags proto_flags); + enum proto_flags proto_flags); static SANE_Status hp5590_low_init_bulk_read_state (void **state); static SANE_Status hp5590_low_free_bulk_read_state (void **state); #endif /* HP5590_LOW_H */ -- cgit v1.2.3