Lines Matching defs:handle
985 sane_open (SANE_String_Const devicename, SANE_Handle *handle)
1023 /* insert newly opened handle into list of open handles: */
1027 *handle = s;
1033 sane_close (SANE_Handle handle)
1037 /* remove handle from list of open handles: */
1040 if (s == handle)
1046 DBG(1, "close: invalid handle %p\n", handle);
1047 return; /* oops, not a handle we know about */
1051 do_cancel (handle);
1058 free (handle);
1063 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1065 Tamarack_Scanner *s = handle;
1090 sane_control_option (SANE_Handle handle, SANE_Int option,
1093 Tamarack_Scanner *s = handle;
1268 sane_get_parameters (SANE_Handle handle, SANE_Parameters *params)
1270 Tamarack_Scanner *s = handle;
1325 sane_start (SANE_Handle handle)
1327 Tamarack_Scanner *s = handle;
1408 sane_read (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len, SANE_Int *len)
1410 Tamarack_Scanner *s = handle;
1441 sane_cancel (SANE_Handle handle)
1443 Tamarack_Scanner *s = handle;
1452 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
1454 Tamarack_Scanner *s = handle;
1467 sane_get_select_fd (SANE_Handle handle, SANE_Int *fd)
1469 Tamarack_Scanner *s = handle;