1 /* DO NOT EDIT THIS FILE! */ 2 /* Automatically generated from pixma.c */ 3 4 typedef union { 5 SANE_Word w; 6 SANE_Int i; 7 SANE_Bool b; 8 SANE_Fixed f; 9 SANE_String s; 10 void *ptr; 11 } option_value_t; 12 13 typedef enum { 14 opt_opt_num_opts, 15 opt__group_1, 16 opt_resolution, 17 opt_mode, 18 opt_source, 19 opt_button_controlled, 20 opt__group_2, 21 opt_custom_gamma, 22 opt_gamma_table, 23 opt_gamma, 24 opt__group_3, 25 opt_tl_x, 26 opt_tl_y, 27 opt_br_x, 28 opt_br_y, 29 opt__group_4, 30 opt_button_update, 31 opt_button_1, 32 opt_button_2, 33 opt_original, 34 opt_target, 35 opt_scan_resolution, 36 opt_document_type, 37 opt_adf_status, 38 opt_adf_orientation, 39 opt__group_5, 40 opt_threshold, 41 opt_threshold_curve, 42 opt_adf_wait, 43 opt_calibrate, 44 opt_last 45 } option_t; 46 47 typedef struct { 48 SANE_Option_Descriptor sod; 49 option_value_t val,def; 50 SANE_Word info; 51 } option_descriptor_t; 52 53 struct pixma_sane_t; 54 static int build_option_descriptors(struct pixma_sane_t *ss); 55 56