Lines Matching refs:reply

322   SANE_Init_Reply reply;
394 SANE_Init_Reply reply;
492 (WireCodecFunc) sanei_w_init_reply, &reply);
502 status = reply.status;
503 version_code = reply.version_code;
504 DBG (2, "connect_dev: freeing init reply (status=%s, remote "
508 sanei_w_free (&dev->wire, (WireCodecFunc) sanei_w_init_reply, &reply);
1198 SANE_Get_Devices_Reply reply;
1262 (WireCodecFunc) sanei_w_get_devices_reply, &reply);
1263 if (reply.status != SANE_STATUS_GOOD)
1266 sane_strstatus (reply.status));
1268 (WireCodecFunc) sanei_w_get_devices_reply, &reply);
1273 for (num_devs = 0; reply.device_list[num_devs]; ++num_devs);
1288 len = strlen (dev->name) + 1 + strlen (reply.device_list[i]->name);
1304 &reply);
1324 strcat (full_name, reply.device_list[i]->name);
1329 rdev->vendor = strdup (reply.device_list[i]->vendor);
1330 rdev->model = strdup (reply.device_list[i]->model);
1331 rdev->type = strdup (reply.device_list[i]->type);
1345 &reply);
1353 (WireCodecFunc) sanei_w_get_devices_reply, &reply);
1368 SANE_Open_Reply reply;
1549 (WireCodecFunc) sanei_w_open_reply, &reply);
1559 status = reply.status;
1560 handle = reply.handle;
1561 need_auth = (reply.resource_to_authorize != 0);
1566 do_authorization (dev, reply.resource_to_authorize);
1569 &reply);
1573 sanei_w_open_reply (&dev->wire, &reply);
1578 sanei_w_free (&dev->wire, (WireCodecFunc) sanei_w_open_reply, &reply);
1589 return reply.status;
1723 SANE_Control_Option_Reply reply;
1783 (WireCodecFunc) sanei_w_control_option_reply, &reply);
1787 status = reply.status;
1788 need_auth = (reply.resource_to_authorize != 0);
1792 do_authorization (s->hw, reply.resource_to_authorize);
1794 (WireCodecFunc) sanei_w_control_option_reply, &reply);
1798 sanei_w_control_option_reply (&s->hw->wire, &reply);
1804 local_info = reply.info;
1807 *info = reply.info;
1810 if ((SANE_Word) value_size == reply.value_size)
1811 memcpy (value, reply.value, reply.value_size);
1814 s->opt.desc[option]->size, reply.value_size);
1817 if (reply.info & SANE_INFO_RELOAD_OPTIONS)
1821 (WireCodecFunc) sanei_w_control_option_reply, &reply);
1847 SANE_Get_Parameters_Reply reply;
1861 (WireCodecFunc) sanei_w_get_parameters_reply, &reply);
1863 status = reply.status;
1864 *params = reply.params;
1865 depth = reply.params.depth;
1867 (WireCodecFunc) sanei_w_get_parameters_reply, &reply);
1879 SANE_Start_Reply reply;
1939 (WireCodecFunc) sanei_w_start_reply, &reply);
1942 status = reply.status;
1943 port = reply.port;
1944 if (reply.byte_order == 0x1234)
1955 need_auth = (reply.resource_to_authorize != 0);
1959 do_authorization (s->hw, reply.resource_to_authorize);
1962 (WireCodecFunc) sanei_w_start_reply, &reply);
1966 sanei_w_start_reply (&s->hw->wire, &reply);
1971 &reply);
2018 SANE_Start_Reply reply;
2056 (WireCodecFunc) sanei_w_start_reply, &reply);
2060 status = reply.status;
2061 port = reply.port;
2062 if (reply.byte_order == 0x1234)
2073 need_auth = (reply.resource_to_authorize != 0);
2077 do_authorization (s->hw, reply.resource_to_authorize);
2080 (WireCodecFunc) sanei_w_start_reply, &reply);
2084 sanei_w_start_reply (&s->hw->wire, &reply);
2089 &reply);