Lines Matching defs:data
70 SnapScan backend scan data sources
212 char data[120];
215 snapscani_usb_cmd (fd, cmd2, sizeof (cmd2), data, &read_bytes);
222 char data[120];
225 snapscani_usb_cmd (fd, cmd, sizeof (cmd), data, &read_bytes);
257 static char *usb_debug_data(char *str,const char *data, int len) {
263 sprintf(tmpstr," 0x%02x",((int)data[i]) & 0xff);
383 /* Send data only if the scanner is expecting it */
385 /* Send data to scanner */
392 /* Receive data only when new data is waiting */
403 "%s: The transaction should now be completed, but the scanner is expecting more data" ,me);
406 "%s: The transaction should now be completed, but the scanner has more data to send" ,me);
413 /* Busy queue data structures and function implementations*/
488 u_char data[20];
494 status = usb_cmd (pss->fd, cmd, sizeof (cmd), data, &read_bytes);
503 status = usb_sense_handler (pss->fd, data, (void *) pss);