Lines Matching defs:handle
962 sane_open (SANE_String_Const devicename, SANE_Handle * handle)
993 *handle = MAGIC;
1005 sane_close (SANE_Handle handle)
1008 if (handle == MAGIC)
1019 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
1021 if (handle != MAGIC || !is_open)
1035 sane_control_option (SANE_Handle handle, SANE_Int option,
1044 DBG (127, "control_option(handle=%p,opt=%s,act=%s,val=%p,info=%p)\n",
1045 handle, sod[option].title,
1051 if (handle != MAGIC || !is_open)
1052 return SANE_STATUS_INVAL; /* Unknown handle ... */
1298 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
1305 if (handle != MAGIC || !is_open)
1306 rc = SANE_STATUS_INVAL; /* Unknown handle ... */
1379 sane_start (SANE_Handle handle)
1384 if (handle != MAGIC || !is_open ||
1387 return SANE_STATUS_INVAL; /* Unknown handle ... */
1455 if ( converter_init (handle) != SANE_STATUS_GOOD )
1485 sane_read (SANE_Handle __sane_unused__ handle, SANE_Byte * data,
1539 sane_cancel (SANE_Handle __sane_unused__ handle)
1553 sane_set_io_mode (SANE_Handle __sane_unused__ handle, SANE_Bool
1579 sane_get_select_fd (SANE_Handle __sane_unused__ handle, SANE_Int __sane_unused__ * fd)
1904 * to handle other image types.
1929 * switch to handle other image types.
1947 * switch to handle other image types.
1950 converter_init (SANE_Handle handle)
1959 sane_cancel(handle);