Lines Matching defs:handle

687  * name. If the call completes successfully, a handle for the device
693 sane_open (SANE_String_Const name, SANE_Handle * handle)
734 *handle = s;
757 * represented by handle h. Option number 0 is guaranteed to be a
759 * options that are available for device handle h (the count includes
765 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
767 struct scanner *s = handle;
809 * number n of the device represented by handle h. The manner in which
826 sane_control_option (SANE_Handle handle, SANE_Int option,
829 struct scanner *s = (struct scanner *) handle;
943 * be. The parameters passed to this function are the handle h of the
948 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
950 struct scanner *s = (struct scanner *) handle;
983 sane_start (SANE_Handle handle)
985 struct scanner *s = handle;
1154 * represented by handle h. Argument buf is a pointer to a memory
1164 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len)
1166 struct scanner *s = (struct scanner *) handle;
1363 * handle h. This function can be called at any time (as long as
1364 * handle h is a valid handle) but usually affects long-running
1377 sane_cancel (SANE_Handle handle)
1379 struct scanner * s = (struct scanner *) handle;
1434 * This function terminates the association between the device handle
1437 * this function returns, handle h must not be used anymore.
1440 sane_close (SANE_Handle handle)
1444 sane_cancel(handle);
1445 disconnect_fd((struct scanner *) handle);