Lines Matching defs:handle
298 this thing, I'll just handle the normal ones for now */
581 mode_update (SANE_Handle handle, char *val)
583 Abaton_Scanner *s = handle;
937 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
976 /* insert newly opened handle into list of open handles: */
980 *handle = s;
985 sane_close (SANE_Handle handle)
989 /* remove handle from list of open handles: */
993 if (s == (Abaton_Scanner *) handle)
999 DBG (ERROR_MESSAGE, "close: invalid handle %p\n", handle);
1000 return; /* oops, not a handle we know about */
1008 free (handle);
1012 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1014 Abaton_Scanner *s = handle;
1023 sane_control_option (SANE_Handle handle, SANE_Int option,
1026 Abaton_Scanner *s = handle;
1195 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
1197 Abaton_Scanner *s = handle;
1209 sane_start (SANE_Handle handle)
1211 Abaton_Scanner *s = handle;
1272 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
1275 Abaton_Scanner *s = handle;
1436 sane_cancel (SANE_Handle handle)
1438 Abaton_Scanner *s = handle;
1473 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
1475 (void) handle; /* silence gcc */
1484 sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
1486 (void) handle; /* silence gcc */