2010-02-13 03:23:14 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2008, Panasonic Russia Ltd.
|
|
|
|
*/
|
|
|
|
/* sane - Scanner Access Now Easy.
|
|
|
|
Panasonic KV-S1020C / KV-S1025C USB scanners.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __KVS1025_USB_H
|
|
|
|
#define __KVS1025_USB_H
|
|
|
|
|
|
|
|
#include "kvs1025_cmds.h"
|
|
|
|
|
2010-03-26 04:01:16 +00:00
|
|
|
SANE_Status kv_usb_enum_devices (void);
|
2010-02-13 03:23:14 +00:00
|
|
|
SANE_Status kv_usb_open (PKV_DEV dev);
|
|
|
|
SANE_Bool kv_usb_already_open (PKV_DEV dev);
|
|
|
|
void kv_usb_close (PKV_DEV dev);
|
2010-03-26 04:01:16 +00:00
|
|
|
void kv_usb_cleanup (void);
|
2010-02-13 03:23:14 +00:00
|
|
|
|
2010-06-23 16:21:37 +00:00
|
|
|
SANE_Status
|
|
|
|
kv_usb_escape (PKV_DEV dev,
|
|
|
|
PKV_CMD_HEADER header,
|
|
|
|
unsigned char *status_byte);
|
|
|
|
|
2010-03-26 04:01:16 +00:00
|
|
|
SANE_Status kv_usb_send_command (PKV_DEV dev,
|
2010-02-13 03:23:14 +00:00
|
|
|
PKV_CMD_HEADER header,
|
|
|
|
PKV_CMD_RESPONSE response);
|
|
|
|
|
|
|
|
#endif /* #ifndef __KVS1025_USB_H */
|