Lines Matching defs:handle

465  * It also copies interesting data from INQUIRY into the handle structure
748 * name. If the call completes successfully, a handle for the device
754 sane_open (SANE_String_Const name, SANE_Handle * handle)
803 *handle = s;
938 * represented by handle h. Option number 0 is guaranteed to be a
940 * options that are available for device handle h (the count includes
946 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
948 struct scanner *s = handle;
1240 * number n of the device represented by handle h. The manner in which
1257 sane_control_option (SANE_Handle handle, SANE_Int option,
1260 struct scanner *s = (struct scanner *) handle;
1541 * be. The parameters passed to this function are the handle h of the
1554 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
1557 struct scanner *s = (struct scanner *) handle;
1686 sane_start (SANE_Handle handle)
1688 struct scanner *s = handle;
2216 * represented by handle h. Argument buf is a pointer to a memory
2226 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len)
2228 struct scanner *s = (struct scanner *) handle;
2421 * handle h. This function can be called at any time (as long as
2422 * handle h is a valid handle) but usually affects long-running
2435 sane_cancel (SANE_Handle handle)
2438 do_cancel ((struct scanner *) handle);
2462 * This function terminates the association between the device handle
2465 * this function returns, handle h must not be used anymore.
2468 sane_close (SANE_Handle handle)
2472 do_cancel((struct scanner *) handle);
2473 disconnect_fd((struct scanner *) handle);