[sane-devel] SANE2 standard revisited: image data format

Matto Marjanovic maddog@mir.com
Tue, 10 Dec 2002 13:53:47 -0500

 >Some details:
 >| 4.3.8 sane_get_parameters
 >|typedef struct
 >|  {
 >|    char reserved[32]; /* 32 bytes for future use */
 >|  }
 >| SANE_Parameters;
 >--> SANE_Char, not char

SANE_Byte, not SANE_Char!  :)

SANE_Char is (according to the standard) used for a textual character,
 which may or may not be a byte in the future.  SANE_Byte is a byte.

Although, technically SANE_Byte could be bigger than a byte; it just has
 to be able to hold a byte.  How about "uint8_t"?  It's standard, no?

-matt m.