<div class="gmail_quote">On Sat, Jun 20, 2009 at 3:21 PM, Kai-Uwe Behrmann <span dir="ltr"><<a href="mailto:ku.b@gmx.de">ku.b@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Viannis SANE_CAP_COLOR is, in contrast to the below data structure, a macro defined flag for the SANE_Option_Descriptor::cap.<br>
The suggested flag is API and ABI backward compatible. So this change will<br>
be a very light one.<br>
</blockquote><div><br>yes- I dont think anyone will object to this. however, no backends will set the bit without a change, so then you are forced to assume it is always on, even when it is off. If we make it part of a sane 2 standard, then we can require that backends set the bit properly.<br>
<br>allan<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
kind regards<br>
Kai-Uwe Behrmann<br><font color="#888888">
-- <br>
developing for colour management <a href="http://www.behrmann.name" target="_blank">www.behrmann.name</a> + <a href="http://www.oyranos.org" target="_blank">www.oyranos.org</a><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Date: Sat, 20 Jun 2009 14:42:07 +0200<br>
From: Alessandro Zummo <<a href="mailto:azummo-lists@towertech.it" target="_blank">azummo-lists@towertech.it</a>><br>
</blockquote></font><div class="im">
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
We could grow SANE_Parameter with a flags field and a version field:<br>
<br>
typedef struct<br>
{<br>
SANE_Int version;<br>
SANE_Word flags;<br>
SANE_Frame format;<br>
SANE_Bool last_frame;<br>
SANE_Int bytes_per_line;<br>
SANE_Int pixels_per_line;<br>
SANE_Int lines;<br>
SANE_Int depth;<br>
}<br>
SANE_Parameters;<br>
</blockquote>
<br>
<br></div><div><div></div><div class="h5">
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"The truth is an offense, but not a sin"<br>