Lines Matching defs:handle
519 sane_open (SANE_String_Const devname, SANE_Handle * handle)
663 /* insert newly opened handle into list of open handles: */
667 *handle = s;
673 sane_close (SANE_Handle handle)
677 DBG (2, "sane_close: trying to close handle %p\n", (void *) handle);
678 /* remove handle from list of open handles: */
682 if (s == handle)
688 DBG (1, "sane_close: bad handle %p\n", handle);
689 return; /* oops, not a handle we know about */
697 sane_cancel (handle);
703 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
705 V4L_Scanner *s = handle;
715 sane_control_option (SANE_Handle handle, SANE_Int option,
718 V4L_Scanner *s = handle;
931 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
933 V4L_Scanner *s = handle;
959 sane_start (SANE_Handle handle)
968 if (s == handle)
973 DBG (1, "sane_start: bad handle %p\n", handle);
974 return SANE_STATUS_INVAL; /* oops, not a handle we know about */
1061 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
1065 V4L_Scanner *s = handle;
1111 sane_cancel (SANE_Handle handle)
1113 V4L_Scanner *s = handle;
1131 sane_set_io_mode (SANE_Handle __sane_unused__ handle, SANE_Bool non_blocking)
1139 sane_get_select_fd (SANE_Handle __sane_unused__ handle, SANE_Int __sane_unused__ * fd)