}
*version_code = SANE_VERSION_CODE(1, 0, 0);
- printf("init: version_code %ui", version_code);
+ printf("init: version_code %ui\n", version_code);
printf("init: kds_s2000w_net init\n");
return SANE_STATUS_GOOD;
printf("kds_s2000w_net exit\n");
}
-SANE_Status _sane_kds_s2000w_net_get_devices(SANE_String_Const devicename,
- SANE_Handle* handle)
+SANE_Status _sane_kds_s2000w_net_get_devices(SANE_Device*** device_list,
+ SANE_Bool local_only)
{
- if (devicename == NULL) {
- printf("get devices: devicename is null\n");
- return SANE_STATUS_INVAL;
- }
-
- if (handle == NULL) {
- printf("get devices: handle is null\n");
- return SANE_STATUS_INVAL;
- }
-
printf("kds_s2000w_net get devices\n");
return SANE_STATUS_GOOD;