bitmaps as special enums?

Stefan (metze) Metzmacher metze at samba.org
Fri Feb 23 07:59:12 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bartlett schrieb:
> 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.

Jelmer,

can you demonstrate it with nbt_operation from nbt.idl please

I'm interested in the IDL and output change.

metze

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF3p7Qm70gjA5TCD8RAvGPAJ9V47o4GWfSt1fMTpDpgsFjGETAGQCbBiFx
JbAT0g3yjdBIZEJJy2GOgz0=
=0oAH
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list