Lines Matching defs:option
11 License, or (at your option) any later version.
551 DBG (2, "fetch_options: %d option descriptors cached... freeing\n",
569 DBG (1, "fetch_options: failed to get option descriptors (%s)\n",
576 DBG (3, "fetch_options: creating %d local option descriptors\n",
602 DBG (1, "fetch_options: option number count changed during runtime?\n");
606 DBG (3, "fetch_options: copying %d option descriptors\n",
1025 * Anything that isn't an option is a saned host.
1609 DBG (3, "sane_open: getting option descriptors\n");
1660 DBG (2, "sane_close: removing cached option descriptors\n");
1669 DBG (2, "sane_close: removing local option descriptors\n");
1690 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1695 DBG (3, "sane_get_option_descriptor: option %d\n", option);
1699 DBG (3, "sane_get_option_descriptor: getting option descriptors\n");
1709 if (((SANE_Word) option >= s->opt.num_options) || (option < 0))
1711 DBG (2, "sane_get_option_descriptor: invalid option number\n");
1714 return s->local_opt.desc[option];
1718 sane_control_option (SANE_Handle handle, SANE_Int option,
1729 DBG (3, "sane_control_option: option %d, action %d\n", option, action);
1733 DBG (1, "sane_control_option: FRONTEND BUG: option descriptors reload needed\n");
1737 if (((SANE_Word) option >= s->opt.num_options) || (option < 0))
1739 DBG (1, "sane_control_option: invalid option number\n");
1743 switch (s->opt.desc[option]->type)
1747 /* the SANE standard defines that the option size of a BUTTON or
1752 value_size = s->opt.desc[option]->size;
1755 < s->opt.desc[option]->size))
1759 value_size = s->opt.desc[option]->size;
1772 req.option = option;
1774 req.value_type = s->opt.desc[option]->type;
1780 DBG (3, "sane_control_option: remote control option\n");
1814 s->opt.desc[option]->size, reply.value_size);