bitmaps as special enums?

Andrew Bartlett abartlet at samba.org
Fri Feb 23 07:53:17 GMT 2007


On Wed, 2007-02-21 at 14:26 +0000, Jelmer Vernooij wrote:
> Hi Tridge,
> 
> Bitmaps and enums are similar in a lot of cases. I'd like to merge them
> into one type but have an attribute of some sort to indicate that
> multiple values can be used. In other words, I'd like to make bitmaps a
> special kind of enums.

Perhaps you could give an example on how the IDL would change as a
result of this?  I kind of like the bitmap syntax, being very clear that
this is a bitmap.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070223/7364f215/attachment.bin


More information about the samba-technical mailing list