Lines Matching defs:option
13 License, or (at your option) any later version.
103 SANE_Status (*callback) (struct _SANE_Option * option, SANE_Handle handle,
113 This read-only option returns the number of options available for
114 the device. It should be the first option in the options array
131 optionNumOptionsCallback (SANE_Option * option, SANE_Handle handle,
134 (void) option;
145 This option lets the user select the scan resolution. The UMAX
170 optionResolutionCallback (SANE_Option * option, SANE_Handle handle,
182 sanei_constrain_value (option->descriptor, (void *) &autoValue, info);
200 This option lets the user select a gray scale scan
217 optionGrayscaleCallback (SANE_Option * option, SANE_Handle handle,
221 (void) option; /* Eliminate warning about unused parameters */
240 This option is a button that allows the user to turn off the
257 optionLampOffCallback (SANE_Option * option, SANE_Handle handle,
264 (void) option;
290 This option controls the top-left-x corner of the scan
308 optionTopLeftXCallback (SANE_Option * option, SANE_Handle handle,
311 (void) option;
332 This option controls the top-left-y corner of the scan
350 optionTopLeftYCallback (SANE_Option * option, SANE_Handle handle,
354 (void) option;
374 This option controls the bot-right-x corner of the scan
393 optionBotRightXCallback (SANE_Option * option, SANE_Handle handle,
397 (void) option;
417 This option controls the bot-right-y corner of the scan
436 optionBotRightYCallback (SANE_Option * option, SANE_Handle handle,
440 (void) option;
460 The following array binds the option descriptors to
487 dispatch_control_option (SANE_Handle handle, SANE_Int option,
490 SANE_Option *op = so + option;
494 if (option < 0 || option >= NELEMS (so))
495 return SANE_STATUS_INVAL; /* Unknown option ... */
781 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
785 DBG (3, "sane_get_option_descriptor: option = %d\n", option);
786 if (option < 0 || option >= NELEMS (so))
788 return so[option].descriptor;
792 sane_control_option (SANE_Handle handle, SANE_Int option,
799 handle, option, action, value, (void*) info);
801 return dispatch_control_option (handle, option, action, value, info);