summaryrefslogtreecommitdiff
path: root/backend/pixma/pixma_sane_options.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/pixma/pixma_sane_options.h
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/pixma/pixma_sane_options.h')
-rw-r--r--backend/pixma/pixma_sane_options.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/backend/pixma/pixma_sane_options.h b/backend/pixma/pixma_sane_options.h
new file mode 100644
index 0000000..1472f1f
--- /dev/null
+++ b/backend/pixma/pixma_sane_options.h
@@ -0,0 +1,51 @@
+/* Automatically generated from pixma_sane.c */
+
+typedef union {
+ SANE_Word w;
+ SANE_Int i;
+ SANE_Bool b;
+ SANE_Fixed f;
+ SANE_String s;
+ void *ptr;
+} option_value_t;
+
+typedef enum {
+ opt_opt_num_opts,
+ opt__group_1,
+ opt_resolution,
+ opt_mode,
+ opt_source,
+ opt_button_controlled,
+ opt__group_2,
+ opt_custom_gamma,
+ opt_gamma_table,
+ opt_gamma,
+ opt__group_3,
+ opt_tl_x,
+ opt_tl_y,
+ opt_br_x,
+ opt_br_y,
+ opt__group_4,
+ opt_button_update,
+ opt_button_1,
+ opt_button_2,
+ opt_original,
+ opt_target,
+ opt_scan_resolution,
+ opt__group_5,
+ opt_threshold,
+ opt_threshold_curve,
+ opt_adf_wait,
+ opt_last
+} option_t;
+
+
+typedef struct {
+ SANE_Option_Descriptor sod;
+ option_value_t val,def;
+ SANE_Word info;
+} option_descriptor_t;
+
+
+struct pixma_sane_t;
+static int build_option_descriptors(struct pixma_sane_t *ss);