Lines Matching defs:handle
141 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
144 SM3840_Scan *s = handle;
280 sane_start (SANE_Handle handle)
282 SM3840_Scan *s = handle;
326 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
328 SM3840_Scan *s = handle;
392 sane_control_option (SANE_Handle handle, SANE_Int option,
395 SM3840_Scan *s = handle;
475 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
477 SM3840_Scan *s = handle;
487 sane_close (SANE_Handle handle)
492 /* remove handle from list of open handles: */
496 if (s == handle)
502 DBG (1, "close: invalid handle %p\n", handle);
503 return; /* oops, not a handle we know about */
508 sane_cancel (handle);
526 free (handle);
782 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
815 /* insert newly opened handle into list of open handles: */
818 *handle = s;
824 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
826 SM3840_Scan *s = handle;
827 DBG (2, "sane_set_io_mode( %p, %d )\n", handle, non_blocking);
841 sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
843 DBG (2, "sane_get_select_fd( %p, %p )\n", (void *) handle, (void *) fd);