Lines Matching defs:handle

623  * Open the backend, ie return the struct handle of a detected scanner
627 * available handle.
630 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
635 DBG (2, "sane_open: devicename=\"%s\", handle=%p\n", devicename,
636 (void *) handle);
644 if (!handle)
646 DBG (2, "sane_open: no handle\n");
663 *handle = lexmark_device;
682 sane_close (SANE_Handle handle)
686 DBG (2, "sane_close: handle=%p\n", (void *) handle);
694 if (lexmark_device == handle)
707 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
711 DBG (2, "sane_get_option_descriptor: handle=%p, option = %d\n",
712 (void *) handle, option);
724 if (lexmark_device == handle)
784 sane_control_option (SANE_Handle handle, SANE_Int option, SANE_Action action,
791 DBG (2, "sane_control_option: handle=%p, opt=%d, act=%d, val=%p, info=%p\n",
792 (void *) handle, option, action, (void *) value, (void *) info);
800 if (lexmark_device == handle)
862 sane_get_parameters (handle, 0);
910 sane_get_parameters (handle, 0);
987 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
994 DBG (2, "sane_get_parameters: handle=%p, params=%p\n", (void *) handle,
1003 if (lexmark_device == handle)
1108 sane_start (SANE_Handle handle)
1115 DBG (2, "sane_start: handle=%p\n", (void *) handle);
1123 if (lexmark_device == handle)
1127 sane_get_parameters (handle, 0);
1210 sane_read (SANE_Handle handle, SANE_Byte * data,
1216 DBG (2, "sane_read: handle=%p, data=%p, max_length = %d, length=%p\n",
1217 (void *) handle, (void *) data, max_length, (void *) length);
1228 if (lexmark_device == handle)
1273 sane_cancel (SANE_Handle handle)
1277 DBG (2, "sane_cancel: handle = %p\n", (void *) handle);
1286 if (lexmark_device == handle)
1301 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
1305 DBG (2, "sane_set_io_mode: handle = %p, non_blocking = %d\n",
1306 (void *) handle, non_blocking);
1314 if (lexmark_device == handle)
1325 sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
1329 DBG (2, "sane_get_select_fd: handle = %p, fd %s 0\n", (void *) handle,
1338 if (lexmark_device == handle)