Lines Matching defs:handle
69 example code to handle calibration and C5 ASIC specifics
115 * . - sane_close() : do_cancel, close opened scanner-device, free buffer and handle
8557 sane_open (SANE_String_Const devicename, SANE_Handle *handle)
8627 /* insert newly opened handle into list of open handles: */
8630 *handle = s;
8741 sane_close (SANE_Handle handle)
8750 if (s == handle)
8754 /* a handle we know about ? */
8756 DBG (1, "sane_close: invalid handle %p\n", handle);
8761 do_cancel (handle);
8768 /* remove handle from list of open handles */
8793 free (handle);
8797 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
8799 Avision_Scanner* s = handle;
8809 sane_control_option (SANE_Handle handle, SANE_Int option,
8812 Avision_Scanner* s = handle;
9060 sane_get_parameters (SANE_Handle handle, SANE_Parameters* params)
9062 Avision_Scanner* s = handle;
9085 sane_start (SANE_Handle handle)
9087 Avision_Scanner* s = handle;
9343 sane_read (SANE_Handle handle, SANE_Byte* buf, SANE_Int max_len, SANE_Int* len)
9345 Avision_Scanner* s = handle;
9381 sane_cancel (SANE_Handle handle)
9383 Avision_Scanner* s = handle;
9391 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
9393 Avision_Scanner* s = handle;
9408 sane_get_select_fd (SANE_Handle handle, SANE_Int* fd)
9410 Avision_Scanner* s = handle;