Lines Matching defs:handle
129 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
132 AS6E_Scan *s = handle;
298 sane_start (SANE_Handle handle)
300 AS6E_Scan *s = handle;
348 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
350 AS6E_Scan *s = handle;
410 sane_control_option (SANE_Handle handle, SANE_Int option,
413 AS6E_Scan *s = handle;
485 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
487 AS6E_Scan *s = handle;
497 sane_close (SANE_Handle handle)
502 /* remove handle from list of open handles: */
506 if (s == handle)
512 DBG (1, "close: invalid handle %p\n", handle);
513 return; /* oops, not a handle we know about */
517 sane_cancel (handle);
526 free (handle);
883 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
925 /* insert newly opened handle into list of open handles: */
928 *handle = s;
934 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
936 DBG (2, "sane_set_io_mode( %p, %d )\n", handle, non_blocking);
942 sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
944 DBG (2, "sane_get_select_fd( %p, %p )\n",(void *) handle, (void *) fd);