~ubuntu-branches/ubuntu/saucy/hplip/saucy-proposed

« back to all changes in this revision

Viewing changes to io/hpmud/hpmud.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-26 11:20:39 UTC
  • mfrom: (1.5.6) (31.1.3 precise)
  • Revision ID: package-import@ubuntu.com-20120526112039-bevxczegxnbyr5m7
Tags: 3.12.4-1
* New upstream release
* Switch to source/format 3.0 (quilt) - drop dpatch
* Refreshed debian/patches
* dh_autoreconf debian/autogen.sh & set local-options single-debian-patch
* Update to debian/compat -> 9
* Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828)
* Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273)
* Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
  hpmud.h - public definitions for multi-point transport driver
4
4
 
5
 
  (c) 2004-2008 Copyright Hewlett-Packard Development Company, LP
 
5
  (c) 2004-2015 Copyright Hewlett-Packard Development Company, LP
6
6
 
7
7
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  of this software and associated documentation files (the "Software"), to deal
21
21
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
22
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
 
  Author: Naga Samrat Chowdary Narla, Yashwant Sahu
 
24
  Author: Naga Samrat Chowdary Narla, Yashwant Sahu, Sarbeswar Meher
25
25
\*****************************************************************************/
26
26
 
27
27
#ifndef _HPMUD_H
84
84
enum HPMUD_SCANSRC
85
85
{
86
86
   HPMUD_SCANSRC_NA = 0,
87
 
   HPMUD_SCANSRC_ADF= 1,
88
 
   HPMUD_SCANSRC_FLATBED = 2,
89
 
   HPMUD_SCANSRC_BOTH = 3
 
87
   HPMUD_SCANSRC_FLATBED = 0x1,
 
88
   HPMUD_SCANSRC_ADF= 0x2,
 
89
   HPMUD_SCANSRC_CAMERA = 0x4,
90
90
};
91
91
 
92
92
enum HPMUD_STATUSTYPE
138
138
#define HPMUD_CHANNEL_MAX HPMUD_MAX_CHANNEL_ID
139
139
 
140
140
#define HPMUD_LINE_SIZE 256     /* Length of a line. */
141
 
#define HPMUD_BUFFER_SIZE 8192  /* General Read/Write buffer. */
 
141
#define HPMUD_BUFFER_SIZE 16384  /* General Read/Write buffer. */
142
142
 
143
143
struct hpmud_dstat
144
144
{
153
153
{
154
154
   enum HPMUD_IO_MODE prt_mode;        /* print only (io_mode) */
155
155
   enum HPMUD_IO_MODE mfp_mode;        /* pml | scan | fax (io_mode) */
156
 
   enum HPMUD_SCANTYPE scantype;       /* 0=none */
 
156
   enum HPMUD_SCANTYPE scantype;       /* scan protocol i.e. SCL, PML, SOAP, MARVELL, LEDM */
157
157
   enum HPMUD_STATUSTYPE statustype;
158
158
   enum HPMUD_SUPPORT_TYPE support;
159
159
   enum HPMUD_PLUGIN_TYPE plugin;
160
160
   enum HPMUD_SUPPORT_TYPE reserved[5];
161
 
   enum HPMUD_SCANSRC scansrc;
 
161
   enum HPMUD_SCANSRC scansrc; /*Flatbed, ADF, Camera or combination of these*/
162
162
};
163
163
 
164
164
#ifdef __cplusplus