Lines Matching defs:handle
474 /* buffer is too small for one line: we can't handle this */
606 dev->handle = 0;
870 if (dev->handle)
871 sane_close (dev->handle);
903 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
924 if (dev->handle)
935 s->hw->handle = s;
939 *handle = s;
944 sane_close (SANE_Handle handle)
946 S9036_Scanner *s = handle;
949 do_cancel (handle);
951 s->hw->handle = 0;
953 free (handle);
957 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
959 S9036_Scanner *s = handle;
967 sane_control_option (SANE_Handle handle, SANE_Int option,
970 S9036_Scanner *s = handle;
1088 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
1090 S9036_Scanner *s = handle;
1128 sane_start (SANE_Handle handle)
1130 S9036_Scanner *s = handle;
1269 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
1272 S9036_Scanner *s = handle;
1321 sane_cancel (SANE_Handle handle)
1323 S9036_Scanner *s = handle;
1328 sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
1330 (void) handle; /* silence compilation warnings */
1339 sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
1341 (void) handle;