Lines Matching defs:option
8 License, or (at your option) any later version.
205 /*Setup some option descriptors */
206 sod[1].constraint.range = &ImageWidthRange; /*Width option */
207 sod[2].constraint.word_list = &ImageResolutionsList[0]; /*Resolution option */
351 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
353 DBG (2, "sane_get_option_descriptor: option = %d\n", option);
357 if (option < 0 || option >= NELEMS (sod)) /*No real options supported */
360 return &sod[option]; /*Return demanded option */
364 sane_control_option (SANE_Handle handle, SANE_Int option,
370 if ((option >= NELEMS (sod)) || (option < 0)) /*Supported only this option */
373 switch (option)