we can stick with levels, if we make them more consistent. I personally am a fan of bitmasks, because of the flexibility, but you are correct that most users will have trouble doing the bitwise AND :)
allan On Tue, May 6, 2008 at 9:08 AM, Frank Zago <sane at zago.net> wrote: > > > 6. Common debugging bitmask: > > > > 1 major errors > > 2 minor errors > > 4 function start/stop msgs > > 8 function detail msg > > 16 SANE_OPTION processing msgs > > 32 calibration msgs > > 64 outgoing command dump > > 128 incoming data dump > > > > help me fix that... > > > > Should these need to be bitmasks ? I think most backends are using > levels instead. Bitmasks are more complicated to use for a normal user, > while a level is pretty simple. > > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"