summaryrefslogtreecommitdiff
path: root/backend/mustek_pp.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/mustek_pp.h
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/mustek_pp.h')
-rw-r--r--backend/mustek_pp.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/backend/mustek_pp.h b/backend/mustek_pp.h
index 19f1765..09b4ceb 100644
--- a/backend/mustek_pp.h
+++ b/backend/mustek_pp.h
@@ -47,13 +47,13 @@
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
#endif
-
+
#define DEBUG_NOT_STATIC
#include "../include/sane/sanei_debug.h"
/* Please note: ASSERT won't go away if you define NDEBUG, it just won't
* output a message when ASSERT failes. So if "cond" does anything, it will
- * be executed, even if NDEBUG is defined...
+ * be executed, even if NDEBUG is defined...
*/
#define ASSERT(cond, retval) do { \
if (!(cond)) { \
@@ -112,7 +112,7 @@ typedef struct {
void (*setup)(SANE_Handle hndl);
/* processes a configuration option */
- SANE_Status (*config)(SANE_Handle hndl,
+ SANE_Status (*config)(SANE_Handle hndl,
SANE_String_Const optname,
SANE_String_Const optval);
@@ -150,7 +150,7 @@ typedef struct Mustek_pp_config_option {
SANE_String name;
SANE_String value;
-
+
} Mustek_pp_config_option;
typedef struct Mustek_pp_Device {
@@ -174,11 +174,11 @@ typedef struct Mustek_pp_Device {
/* functions */
Mustek_pp_Functions *func;
-
+
/* Modified by EDG: device identification is needed to initialize
private device descriptor */
SANE_Int info;
-
+
/* Array of configuration file options */
int numcfgoptions;
Mustek_pp_config_option *cfgoptions;
@@ -240,8 +240,8 @@ typedef struct Mustek_pp_Handle {
struct Mustek_pp_Handle *next;
-
-
+
+
Mustek_pp_Device *dev;
int fd;
@@ -250,7 +250,7 @@ typedef struct Mustek_pp_Handle {
int pipe;
int state;
-
+
int topX, topY;
int bottomX, bottomY;
int mode;
@@ -263,7 +263,7 @@ typedef struct Mustek_pp_Handle {
int use_ta;
int depth;
int speed;
-
+
/* current parameters */
SANE_Parameters params;
@@ -271,7 +271,7 @@ typedef struct Mustek_pp_Handle {
SANE_Range x_range;
SANE_Range y_range;
SANE_Range gamma_range;
-
+
/* options */
SANE_Option_Descriptor opt[NUM_OPTIONS];
Option_Value val[NUM_OPTIONS];
@@ -280,7 +280,7 @@ typedef struct Mustek_pp_Handle {
time_t lamp_on;
void *priv;
-
+
} Mustek_pp_Handle;
#endif /* mustek_pp_h */