diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
commit | 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch) | |
tree | 2e301d871bbeeb44aa57ff9cc070fcf3be484487 /backend/kvs1025_usb.h |
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'backend/kvs1025_usb.h')
-rw-r--r-- | backend/kvs1025_usb.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/backend/kvs1025_usb.h b/backend/kvs1025_usb.h new file mode 100644 index 0000000..1a193ea --- /dev/null +++ b/backend/kvs1025_usb.h @@ -0,0 +1,28 @@ +/* + 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" + +SANE_Status kv_usb_enum_devices (void); +SANE_Status kv_usb_open (PKV_DEV dev); +SANE_Bool kv_usb_already_open (PKV_DEV dev); +void kv_usb_close (PKV_DEV dev); +void kv_usb_cleanup (void); + +SANE_Status +kv_usb_escape (PKV_DEV dev, + PKV_CMD_HEADER header, + unsigned char *status_byte); + +SANE_Status kv_usb_send_command (PKV_DEV dev, + PKV_CMD_HEADER header, + PKV_CMD_RESPONSE response); + +#endif /* #ifndef __KVS1025_USB_H */ |