Lines Matching defs:handle
263 /* Open device, return the device handle */
265 sane_open (SANE_String_Const devname, SANE_Handle * handle)
329 *handle = s;
388 sane_close (SANE_Handle handle)
390 struct scanner *s = (struct scanner *) handle;
417 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
419 struct scanner *s = handle;
446 static SANE_Status read_image_duplex(SANE_Handle handle)
448 struct scanner *s = (struct scanner *) handle;
500 static SANE_Status read_image_simplex(SANE_Handle handle)
502 struct scanner *s = (struct scanner *) handle;
553 sane_start (SANE_Handle handle)
555 struct scanner *s = (struct scanner *) handle;
658 sane_read(SANE_Handle handle, SANE_Byte * buf,
661 struct scanner *s = (struct scanner *) handle;
714 sane_cancel (SANE_Handle handle)
717 struct scanner *s = (struct scanner *) handle;