color_drop_out_aggressiveness->cap &= ~SANE_CAP_SOFT_SELECT;
}
+void _kds_s2000w_handler_opts_set_info_option(uint32_t option, int32_t* info) {
+ if (info == NULL)
+ return;
+
+ switch (option) {
+ case 3:
+ case 7:
+ case 8:
+ case 14:
+ case 16:
+ case 19:
+ case 21:
+ case 24:
+ *info = RELOAD_OPTIONS;
+ break;
+ case 31:
+ *info = RELOAD_OPTIONS | RELOAD_PARAMS;
+ break;
+ default:
+ break;
+ }
+}
void kds_s2000w_handler_opts_get_option(handler* h, uint32_t option, void* value, int32_t* info)
{
break;
}
- switch (option) {
- case 3:
- case 7:
- case 8:
- case 14:
- case 16:
- case 19:
- case 21:
- case 24:
- if (info != NULL)
- *info = RELOAD_OPTIONS;
- break;
- case 31:
- if (info != NULL)
- *info = RELOAD_OPTIONS | RELOAD_PARAMS;
- default:
- break;
- }
-
+ _kds_s2000w_handler_opts_set_info_option(option, info);
_kds_s2000w_handler_opts_set_options(h);
}
\ No newline at end of file