Lines Matching defs:handle
334 sane_open (SANE_String_Const name, SANE_Handle * handle)
347 *handle = dev;
411 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
413 struct sp15c *scanner = handle;
425 sane_control_option (SANE_Handle handle, SANE_Int option,
429 struct sp15c *scanner = handle;
756 sane_start (SANE_Handle handle)
758 struct sp15c *scanner = handle;
873 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
875 struct sp15c *scanner = handle;
916 sane_read (SANE_Handle handle, SANE_Byte * buf,
919 struct sp15c *scanner = handle;
966 sane_close (SANE_Handle handle)
969 if (((struct sp15c *) handle)->scanning == SANE_TRUE)
970 do_cancel (handle);