[sane-devel] API addition request

Kai-Uwe Behrmann ku.b at gmx.de
Sat Jun 20 19:21:54 UTC 2009


Viannis SANE_CAP_COLOR is, in contrast to the below data structure, a 
macro defined flag for the SANE_Option_Descriptor::cap.
The suggested flag is API and ABI backward compatible. So this change will
be a very light one.

kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org


> Date: Sat, 20 Jun 2009 14:42:07 +0200
> From: Alessandro Zummo <azummo-lists at towertech.it>

> We could grow SANE_Parameter with a flags field and a version field:
>
> typedef struct
> {
>    SANE_Int version;
>    SANE_Word flags;
>    SANE_Frame format;
>    SANE_Bool last_frame;
>    SANE_Int bytes_per_line;
>    SANE_Int pixels_per_line;
>    SANE_Int lines;
>    SANE_Int depth;
> }
> SANE_Parameters;




More information about the sane-devel mailing list